mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 08:31:29 +00:00
Disable metadata publishing for legacy common artifacts
When they are used explicitly in common source sets, they cannot be resolved in platform ones after that since they only have common kotlin-api variants in their metadata. KT-40225
This commit is contained in:
@@ -306,3 +306,7 @@ publishing {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType<GenerateModuleMetadata> {
|
||||
enabled = "common" !in (publication.get() as MavenPublication).artifactId
|
||||
}
|
||||
Reference in New Issue
Block a user