Make all dependencies to idea sdk intransitive
This commit is contained in:
committed by
Vyacheslav Gerasimov
parent
e76cd802d8
commit
a4f28cd94f
@@ -3,6 +3,10 @@ description = "Kotlin SamWithReceiver Compiler Plugin"
|
||||
|
||||
apply { plugin("kotlin") }
|
||||
|
||||
configureIntellijPlugin {
|
||||
setExtraDependencies("intellij-core")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly(project(":compiler:frontend"))
|
||||
compileOnly(project(":compiler:frontend.java"))
|
||||
@@ -19,6 +23,12 @@ dependencies {
|
||||
testRuntime(ideaSdkDeps("*.jar"))
|
||||
}
|
||||
|
||||
afterEvaluate {
|
||||
dependencies {
|
||||
compileOnly(intellijCoreJar())
|
||||
}
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
"main" { projectDefault() }
|
||||
"test" { projectDefault() }
|
||||
|
||||
Reference in New Issue
Block a user