mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-22 04:05:39 +00:00
GP-5043 Added copyElasticJarTask, target java 20
This commit is contained in:
parent
968a57a7ce
commit
ddc3d65960
@ -66,6 +66,11 @@ task copyPropertiesFile(type: Copy) {
|
|||||||
into 'build/ziplayout'
|
into 'build/ziplayout'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
task copyElasticJar(type: Copy) {
|
||||||
|
from 'build/libs/lsh.jar'
|
||||||
|
into 'build/ziplayout'
|
||||||
|
}
|
||||||
|
|
||||||
task elasticPluginJar(type: Jar) {
|
task elasticPluginJar(type: Jar) {
|
||||||
from sourceSets.elasticPlugin.output
|
from sourceSets.elasticPlugin.output
|
||||||
archiveBaseName = 'lsh'
|
archiveBaseName = 'lsh'
|
||||||
@ -87,11 +92,15 @@ task elasticPluginZip(type: Zip) {
|
|||||||
destinationDirectory = file("build/data")
|
destinationDirectory = file("build/data")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Currently targeting elasticsearch-8.8.1 which by default runs with java 20
|
||||||
|
compileElasticPluginJava.options.release = 20
|
||||||
|
|
||||||
compileElasticPluginJava.dependsOn copyGenericTask
|
compileElasticPluginJava.dependsOn copyGenericTask
|
||||||
compileElasticPluginJava.dependsOn copyUtilityTask
|
compileElasticPluginJava.dependsOn copyUtilityTask
|
||||||
compileElasticPluginJava.dependsOn copyBSimTask
|
compileElasticPluginJava.dependsOn copyBSimTask
|
||||||
|
|
||||||
elasticPluginZip.dependsOn elasticPluginJar
|
copyElasticJar.dependsOn elasticPluginJar
|
||||||
|
elasticPluginZip.dependsOn copyElasticJar
|
||||||
elasticPluginZip.dependsOn copyPropertiesFile
|
elasticPluginZip.dependsOn copyPropertiesFile
|
||||||
|
|
||||||
jar.dependsOn elasticPluginZip
|
jar.dependsOn elasticPluginZip
|
||||||
|
Loading…
Reference in New Issue
Block a user