[repo] fix KGP pom has multiple dependencies on KGP-api
This commit is contained in:
committed by
Space Team
parent
8c8f1718b9
commit
9f12dae117
@@ -44,6 +44,18 @@ dependencies {
|
||||
commonApi(project(":kotlin-gradle-plugin-api"))
|
||||
commonApi(project(":kotlin-gradle-plugin-model"))
|
||||
|
||||
// Following two dependencies is a workaround for IDEA import to pick-up them correctly
|
||||
commonCompileOnly(project(":kotlin-gradle-plugin-api")) {
|
||||
capabilities {
|
||||
requireCapability("org.jetbrains.kotlin:kotlin-gradle-plugin-api-common")
|
||||
}
|
||||
}
|
||||
commonCompileOnly(project(":kotlin-gradle-plugin-model")) {
|
||||
capabilities {
|
||||
requireCapability("org.jetbrains.kotlin:kotlin-gradle-plugin-model-common")
|
||||
}
|
||||
}
|
||||
|
||||
commonCompileOnly(project(":compiler:incremental-compilation-impl"))
|
||||
commonCompileOnly(project(":daemon-common"))
|
||||
commonCompileOnly(project(":kotlin-daemon-client"))
|
||||
|
||||
Reference in New Issue
Block a user