Skip to content

Commit

Permalink
Set Specification-Version attribute in kotlinx-coroutines-core for tests
Browse files Browse the repository at this point in the history
Fixes #2941
  • Loading branch information
qwwdfsad committed Sep 21, 2021
1 parent d07b6b2 commit 6078d0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kotlinx-coroutines-core/build.gradle
Expand Up @@ -215,10 +215,11 @@ jvmJar { setupManifest(it) }
*/
metadataJar { setupManifest(it) }

static def setupManifest(Jar jar) {
def setupManifest(Jar jar) {
jar.manifest {
attributes "Premain-Class": "kotlinx.coroutines.debug.AgentPremain"
attributes "Can-Retransform-Classes": "true"
attributes "Specification-Version": rootProject.version
}
}

Expand Down

0 comments on commit 6078d0e

Please sign in to comment.