mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[build] monkey-patching JDK 6 installation
This commit is contained in:
@@ -113,6 +113,13 @@ task setupJdk16(dependsOn: configurations.jdk16) {
|
||||
logger.info("Setting up JDK 1.6 to compile")
|
||||
unpackJdk(jdkArchive.call(), outputDir)
|
||||
deleteBrokenSymlink(outputDir)
|
||||
if (!new File(outputDir, "bin").exists() && new File(outputDir, "jre/bin").exists()) {
|
||||
copy {
|
||||
from file(new File(outputDir, "jre/bin"))
|
||||
into file(new File(outputDir, "bin"))
|
||||
include 'java*'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user