Add Kotlin Gradle plugins bom
This should help with failed variants selection between different Kotlin Gradle plugins versions. ^KT-54691 In Progress
This commit is contained in:
committed by
Space Team
parent
7d881842b4
commit
b9aac83135
@@ -0,0 +1,40 @@
|
||||
import plugins.signLibraryPublication
|
||||
|
||||
plugins {
|
||||
id("java-platform")
|
||||
id("maven-publish")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
constraints {
|
||||
// kotlin-gradle-plugin-api
|
||||
api(project(":kotlin-gradle-plugin-api"))
|
||||
api(project(":kotlin-gradle-plugin-annotations"))
|
||||
api(project(":kotlin-gradle-plugin-model"))
|
||||
api(project(":native:kotlin-native-utils"))
|
||||
api(project(":kotlin-tooling-core"))
|
||||
|
||||
// plugins
|
||||
api(project(":kotlin-gradle-plugin"))
|
||||
api(project(":atomicfu"))
|
||||
api(project(":kotlin-allopen"))
|
||||
api(project(":kotlin-lombok"))
|
||||
api(project(":kotlin-noarg"))
|
||||
api(project(":kotlin-sam-with-receiver"))
|
||||
api(project(":kotlin-serialization"))
|
||||
api(project(":kotlin-assignment"))
|
||||
}
|
||||
}
|
||||
|
||||
configureCommonPublicationSettingsForGradle(signLibraryPublication)
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
create<MavenPublication>("myPlatform") {
|
||||
from(components["javaPlatform"])
|
||||
pom {
|
||||
packaging = "pom"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user