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:
@@ -13,7 +13,7 @@ dependencies {
|
|||||||
compile(project(":js:js.frontend"))
|
compile(project(":js:js.frontend"))
|
||||||
compile(project(":kotlin-native:kotlin-native-library-reader"))
|
compile(project(":kotlin-native:kotlin-native-library-reader"))
|
||||||
compileOnly(intellijDep())
|
compileOnly(intellijDep())
|
||||||
compileOnly(intellijDep("jps-standalone")) { includeJars("jps-model") }
|
compileOnly(jpsStandalone()) { includeJars("jps-model") }
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ dependencies {
|
|||||||
includeJars("jdom", "trove4j", "jps-model", "openapi", "util", "asm-all", rootProject = rootProject)
|
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"))
|
testCompileOnly(project(":kotlin-reflect-api"))
|
||||||
testCompile(project(":compiler:incremental-compilation-impl"))
|
testCompile(project(":compiler:incremental-compilation-impl"))
|
||||||
testCompile(projectTests(":compiler:tests-common"))
|
testCompile(projectTests(":compiler:tests-common"))
|
||||||
@@ -31,7 +31,7 @@ dependencies {
|
|||||||
testCompile(commonDep("junit:junit"))
|
testCompile(commonDep("junit:junit"))
|
||||||
testCompile(project(":kotlin-test:kotlin-test-jvm"))
|
testCompile(project(":kotlin-test:kotlin-test-jvm"))
|
||||||
testCompile(projectTests(":kotlin-build-common"))
|
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 {
|
Ide.IJ {
|
||||||
testCompile(intellijDep("devkit"))
|
testCompile(intellijDep("devkit"))
|
||||||
}
|
}
|
||||||
@@ -40,7 +40,7 @@ dependencies {
|
|||||||
} else {
|
} else {
|
||||||
testCompileOnly(intellijDep()) { includeJars("openapi", "idea", "log4j") }
|
testCompileOnly(intellijDep()) { includeJars("openapi", "idea", "log4j") }
|
||||||
}
|
}
|
||||||
testCompile(intellijDep("jps-build-test"))
|
testCompile(jpsBuildTest())
|
||||||
compilerModules.forEach {
|
compilerModules.forEach {
|
||||||
testRuntime(project(it))
|
testRuntime(project(it))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user