Make all dependencies to idea sdk intransitive
This commit is contained in:
committed by
Vyacheslav Gerasimov
parent
e76cd802d8
commit
a4f28cd94f
@@ -1,3 +1,8 @@
|
||||
|
||||
plugins {
|
||||
id 'org.jetbrains.intellij'
|
||||
}
|
||||
|
||||
apply plugin: 'kotlin'
|
||||
apply plugin: 'maven'
|
||||
|
||||
@@ -6,6 +11,13 @@ repositories {
|
||||
jcenter()
|
||||
}
|
||||
|
||||
intellij {
|
||||
version = rootProject.ext["versions.intellij"]
|
||||
instrumentCode = false
|
||||
configureDefaultDependencies = false
|
||||
extraDependencies = ['intellij-core']
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile project(':kotlin-gradle-plugin-api')
|
||||
// Use this dependency instead when building apart from the other modules:
|
||||
@@ -20,4 +32,10 @@ dependencies {
|
||||
compileOnly project(':compiler:cli')
|
||||
|
||||
compileOnly gradleApi()
|
||||
}
|
||||
|
||||
afterEvaluate {
|
||||
dependencies {
|
||||
compileOnly intellijExtra('intellij-core')
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user