Convert intellij usages in the groovy build scripts
This commit is contained in:
committed by
Vyacheslav Gerasimov
parent
4eb557724c
commit
e23b1529b3
@@ -1,8 +1,4 @@
|
||||
|
||||
plugins {
|
||||
id 'org.jetbrains.intellij'
|
||||
}
|
||||
|
||||
apply plugin: 'kotlin'
|
||||
apply plugin: 'maven'
|
||||
|
||||
@@ -11,13 +7,6 @@ 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:
|
||||
@@ -34,8 +23,10 @@ dependencies {
|
||||
compileOnly gradleApi()
|
||||
}
|
||||
|
||||
afterEvaluate {
|
||||
dependencies {
|
||||
compileOnly intellijExtra('intellij-core')
|
||||
compileOnly("kotlin.build.custom.deps:intellij-core:${rootProject.ext["versions.intellijSdk"]}") {
|
||||
artifact {
|
||||
name = 'intellij-core'
|
||||
extension = 'jar'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user