mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
build/jdk made configurable to prevent cleanup on branch change (for Cherry-Pick robot) : cleanup
This commit is contained in:
+2
-2
@@ -92,9 +92,9 @@ class CompilationContextImpl implements CompilationContext {
|
||||
}
|
||||
|
||||
private static String jdkDir(String projectHome) {
|
||||
(System.getProperty('jdk.dir')?.with {
|
||||
System.getProperty('jdk.dir')?.with {
|
||||
new File(it).exists() ? it : null
|
||||
} ?: "$projectHome/build/jdk")
|
||||
} ?: "$projectHome/build/jdk"
|
||||
}
|
||||
|
||||
@SuppressWarnings(["GrUnresolvedAccess", "GroovyAssignabilityCheck"])
|
||||
|
||||
Reference in New Issue
Block a user