Build: Cleanup old platforms from the build

This commit is contained in:
Nikolay Krasko
2021-06-07 20:14:33 +03:00
committed by teamcityserver
parent a4005cef19
commit 32f811e0ec
28 changed files with 43 additions and 174 deletions
+2 -10
View File
@@ -27,17 +27,9 @@ dependencies {
testCompile(projectTests(":jps-plugin"))
testCompile(commonDep("junit:junit"))
Platform[193].orLower {
testCompile(intellijDep()) { includeJars("openapi", rootProject = rootProject) }
}
testCompile(intellijDep()) { includeJars("util", "idea", "idea_rt", rootProject = rootProject) }
Platform[202].orHigher {
testCompile(intellijDep()) { includeJars("groovy", rootProject = rootProject) }
}
Platform[201].orLower {
testCompile(intellijDep()) { includeJars("groovy-all", rootProject = rootProject) }
}
testCompile(intellijDep()) { includeJars("groovy", rootProject = rootProject) }
testCompile(intellijPluginDep("java")) { includeJars("jps-builders") }
testCompile(jpsStandalone()) { includeJars("jps-model") }
testCompile(jpsBuildTest())
@@ -15,10 +15,6 @@ repositories {
}
dependencies {
Platform[193].orLower {
testCompileOnly(intellijDep()) { includeJars("openapi", rootProject = rootProject) }
}
testCompileOnly(intellijDep()) {
includeJars("extensions", "idea_rt", "util", "asm-all", "platform-util-ex", "jna", rootProject = rootProject)
}
@@ -17,9 +17,6 @@ dependencies {
implementation(project(":compiler:fir:cones"))
compileOnly(intellijCoreDep()) { includeJars("intellij-core", "guava", rootProject = rootProject) }
Platform[193].orLower {
compileOnly(intellijDep()) { includeJars("picocontainer", rootProject = rootProject) }
}
compileOnly(intellijDep()) {
includeJars("trove4j", rootProject = rootProject)
}
@@ -26,12 +26,7 @@ dependencies {
testCompile(intellijDep()) { includeJars("log4j", "jdom") }
testRuntime(project(":kotlin-reflect"))
testRuntime(project(":core:descriptors.runtime"))
if (Platform.P192.orHigher()) {
testRuntime(intellijDep()) { includeJars("lz4-java", rootProject = rootProject) }
} else {
testRuntime(intellijDep()) { includeJars("lz4-1.3.0") }
}
testRuntime(intellijDep()) { includeJars("lz4-java", rootProject = rootProject) }
}
sourceSets {
+6 -11
View File
@@ -57,17 +57,12 @@ dependencies {
testCompileOnly(project(":kotlin-reflect-api"))
testCompileOnly(toolsJar())
testCompileOnly(intellijCoreDep()) { includeJars("intellij-core") }
Platform[193].orLower {
testCompile(intellijDep()) { includeJars("openapi", "picocontainer", rootProject = rootProject) }
}
Platform[201].orHigher {
testCompile(intellijDep()) {
includeJars(
"testFramework",
"testFramework.core",
rootProject = rootProject
)
}
testCompile(intellijDep()) {
includeJars(
"testFramework",
"testFramework.core",
rootProject = rootProject
)
}
Platform[202] {
testCompile(intellijDep()) { includeJars("intellij-deps-fastutil-8.3.1-1") }