Skip to content

Commit 6078d0e

Browse files
committed
Set Specification-Version attribute in kotlinx-coroutines-core for tests
Fixes #2941
1 parent d07b6b2 commit 6078d0e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kotlinx-coroutines-core/build.gradle

+2-1
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,11 @@ jvmJar { setupManifest(it) }
215215
*/
216216
metadataJar { setupManifest(it) }
217217

218-
static def setupManifest(Jar jar) {
218+
def setupManifest(Jar jar) {
219219
jar.manifest {
220220
attributes "Premain-Class": "kotlinx.coroutines.debug.AgentPremain"
221221
attributes "Can-Retransform-Classes": "true"
222+
attributes "Specification-Version": rootProject.version
222223
}
223224
}
224225

0 commit comments

Comments
 (0)