--- java-1.8.0-openjfx-1.8.0.172/build.gradle 2018-06-14 11:55:14.532497327 +0200 +++ java-1.8.0-openjfx-1.8.0.172/build.gradle.new 2018-06-18 11:03:23.173127435 +0200 @@ -3225,37 +3225,6 @@ ant.importBuild 'build.xml' - // Download the Lucene libraries needed for the Ensemble8 app - def luceneVersion = "7.4.0" - getConfigurations().create("lucene"); - dependencies { - lucene group: "org.apache.lucene", name: "lucene-core", version: luceneVersion - lucene group: "org.apache.lucene", name: "lucene-grouping", version: luceneVersion - lucene group: "org.apache.lucene", name: "lucene-queryparser", version: luceneVersion - } - - // Copy Lucene libraries into the Ensemble8/lib directory - File ensembleLibDir = rootProject.file("apps/samples/Ensemble8/lib"); - def libNames = [ "lucene-core-${luceneVersion}.jar", - "lucene-grouping-${luceneVersion}.jar", - "lucene-queryparser-${luceneVersion}.jar" ] - - - task getLucene(type: Copy) { - doFirst { - ensembleLibDir.mkdirs(); - } - into ensembleLibDir - includeEmptyDirs = false - configurations.lucene.files.each { f -> - libNames.each { name -> - if (name == f.getName()) { - from f.getPath() - } - } - } - } - compileTargets { t -> // The apps build is Ant based, and gradle lets us "import" ant apps/build.xml // into our configuration. @@ -3264,7 +3234,6 @@ def jfxrtJar = "${rootProject.buildDir}/${sdkDirName}/rt/lib/ext/jfxrt.jar" def appsJar = project.task("appsJar${t.capital}") { - dependsOn(sdk, getLucene) doLast() { ant.properties['targetBld'] = "$t.name" if (!rootProject.ext[t.upper].compileSwing) { @@ -3290,7 +3259,6 @@ if (!t.name.startsWith("arm")) { ant.project.executeTarget("scenebuilderAppClean") } - delete(ensembleLibDir); } } rootProject.clean.dependsOn(appsClean)