Skip to content

Commit a15ceb3

Browse files
committed
Update the module name and clean up the code
1 parent f7396c5 commit a15ceb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kotlinx-coroutines-core/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ val jvmJar by tasks.getting(Jar::class) { setupManifest(this) }
185185
* an explicit automatic module name has to be specified in the manifest.
186186
*/
187187
val allMetadataJar by tasks.getting(Jar::class) {
188-
setupManifest(this, "kotlinx.coroutines.core.trampoline")
188+
setupManifest(this, "kotlinx.coroutines.core.artifact_disambiguating_module")
189189
}
190190

191191
fun setupManifest(jar: Jar, autoModuleName: String? = null) {
@@ -194,7 +194,7 @@ fun setupManifest(jar: Jar, autoModuleName: String? = null) {
194194
"Premain-Class" to "kotlinx.coroutines.debug.internal.AgentPremain",
195195
"Can-Retransform-Classes" to "true"
196196
)
197-
autoModuleName?.also {
197+
autoModuleName?.let {
198198
attributes("Automatic-Module-Name" to it)
199199
}
200200
}

0 commit comments

Comments
 (0)