Convert intellij usages in the groovy build scripts

This commit is contained in:
Ilya Chernikov
2017-12-08 13:39:21 +01:00
committed by Vyacheslav Gerasimov
parent 4eb557724c
commit e23b1529b3
2 changed files with 13 additions and 32 deletions
@@ -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'
}
}
}
}