Get rid of bunch 191 for build scripts (Continuation of "Replace bunch copies for some of build.gradle.kts files with a DSL")

This commit is contained in:
Andrey Uskov
2018-10-25 19:41:19 +03:00
parent 308eafe0e1
commit 7b0c7ec400
8 changed files with 24 additions and 1069 deletions
+5 -1
View File
@@ -22,7 +22,11 @@ dependencies {
compile(commonDep("org.jetbrains.kotlinx", "kotlinx-coroutines-core")) { isTransitive = false }
compile(commonDep("org.jetbrains.kotlinx", "kotlinx-coroutines-jdk8")) { isTransitive = false }
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
compileOnly(intellijDep())
compileOnly(intellijDep()) {
Ide.IJ191.orHigher {
this@compileOnly.includeJars("platform-api")
}
}
compileOnly(intellijPluginDep("gradle"))
}
-36
View File
@@ -1,36 +0,0 @@
plugins {
kotlin("jvm")
id("jps-compatible")
}
dependencies {
compile(project(":kotlin-stdlib"))
compileOnly(project(":kotlin-reflect-api"))
compile(project(":core:descriptors"))
compile(project(":core:descriptors.jvm"))
compile(project(":compiler:frontend"))
compile(project(":compiler:frontend.java"))
compile(project(":compiler:frontend.script"))
compile(project(":compiler:light-classes"))
compile(project(":compiler:util"))
compile(project(":j2k"))
compile(project(":idea:ide-common"))
compile(project(":idea:idea-jps-common"))
compile(project(":plugins:android-extensions-compiler"))
compile(project(":kotlin-scripting-compiler"))
compile(commonDep("org.jetbrains.kotlinx", "kotlinx-coroutines-core")) { isTransitive = false }
compile(commonDep("org.jetbrains.kotlinx", "kotlinx-coroutines-jdk8")) { isTransitive = false }
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
compileOnly(intellijDep()) { includeJars("platform-api") }
compileOnly(intellijPluginDep("gradle"))
}
sourceSets {
"main" {
projectDefault()
java.srcDir("../idea-analysis/src")
resources.srcDir("../idea-analysis/src").apply { include("**/*.properties") }
}
"test" {}
}