Skip to content

Commit

Permalink
[Issue #129] Fix duplicated META-INF/*.kotlin_module issue (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
slmlt committed Jul 5, 2021
1 parent c5bd919 commit 02d4603
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.gradle.kts
Expand Up @@ -162,4 +162,12 @@ subprojects {
}
}
}
// configuration required to produce unique META-INF/*.kotlin_module file names
tasks.withType<KotlinCompile> {
kotlinOptions {
if (project.hasProperty("POM_ARTIFACT_ID")) {
freeCompilerArgs = listOf("-module-name", project.property("POM_ARTIFACT_ID") as String)
}
}
}
}

0 comments on commit 02d4603

Please sign in to comment.