Build: Improve intellij-sdk repo up-to-date check time & layout

Up-to-date check is very heavy for intellij repo due to artifact size.
If module directory in repo is written only by one task we can assume
that task if up-to-date if target directory exists.

Original commit: fc8be48fa8
This commit is contained in:
Vyacheslav Gerasimov
2019-03-05 00:56:59 +03:00
parent 1e3c40cf9c
commit 63f1428139
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ dependencies {
compile(project(":js:js.frontend"))
compile(project(":kotlin-native:kotlin-native-library-reader"))
compileOnly(intellijDep())
compileOnly(intellijDep("jps-standalone")) { includeJars("jps-model") }
compileOnly(jpsStandalone()) { includeJars("jps-model") }
}
sourceSets {
+3 -3
View File
@@ -23,7 +23,7 @@ dependencies {
includeJars("jdom", "trove4j", "jps-model", "openapi", "util", "asm-all", rootProject = rootProject)
}
}
compileOnly(intellijDep("jps-standalone")) { includeJars("jps-builders", "jps-builders-6") }
compileOnly(jpsStandalone()) { includeJars("jps-builders", "jps-builders-6") }
testCompileOnly(project(":kotlin-reflect-api"))
testCompile(project(":compiler:incremental-compilation-impl"))
testCompile(projectTests(":compiler:tests-common"))
@@ -31,7 +31,7 @@ dependencies {
testCompile(commonDep("junit:junit"))
testCompile(project(":kotlin-test:kotlin-test-jvm"))
testCompile(projectTests(":kotlin-build-common"))
testCompileOnly(intellijDep("jps-standalone")) { includeJars("jps-builders", "jps-builders-6") }
testCompileOnly(jpsStandalone()) { includeJars("jps-builders", "jps-builders-6") }
Ide.IJ {
testCompile(intellijDep("devkit"))
}
@@ -40,7 +40,7 @@ dependencies {
} else {
testCompileOnly(intellijDep()) { includeJars("openapi", "idea", "log4j") }
}
testCompile(intellijDep("jps-build-test"))
testCompile(jpsBuildTest())
compilerModules.forEach {
testRuntime(project(it))
}