File 0001-Change-SWT-and-Lucene.patch of Package openjfx

--- a/build.gradle
+++ b/build.gradle
@@ -2548,7 +2548,7 @@ project(":swt") {
     commonModuleSetup(project, [ 'base', 'graphics' ])
 
     dependencies {
-        compile name: SWT_FILE_NAME
+        compile group: "org.eclipse.swt", name: "swt", version: "3.108.0"
     }
 
     classes {
@@ -4680,35 +4680,35 @@ compileTargets { t ->
 project(":apps") {
     // The apps build is Ant based, we will exec ant from gradle.
 
-    // Download the Lucene libraries needed for the Ensemble8 app
-    getConfigurations().create("lucene");
-    dependencies {
-        lucene group: "org.apache.lucene", name: "lucene-core", version: "7.1.0"
-        lucene group: "org.apache.lucene", name: "lucene-grouping", version: "7.1.0"
-        lucene group: "org.apache.lucene", name: "lucene-queryparser", version: "7.1.0"
-    }
+    //Download the Lucene libraries needed for the Ensemble8 app
+    //getConfigurations().create("lucene");
+    //dependencies {
+    //    lucene group: "org.apache.lucene", name: "lucene-core", version: "7.1.0"
+    //    lucene group: "org.apache.lucene", name: "lucene-grouping", version: "7.1.0"
+    //    lucene group: "org.apache.lucene", name: "lucene-queryparser", version: "7.1.0"
+    //}
 
     // Copy Lucene libraries into the Ensemble8/lib directory
     File ensembleLibDir = rootProject.file("apps/samples/Ensemble8/lib");
-    def libNames = [ "lucene-core-7.1.0.jar",
-                     "lucene-grouping-7.1.0.jar",
-                     "lucene-queryparser-7.1.0.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()
-                }
-            }
-        }
-    }
+    //def libNames = [ "lucene-core-7.1.0.jar",
+    //                 "lucene-grouping-7.1.0.jar",
+    //                 "lucene-queryparser-7.1.0.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 ->
         List<String> params = []
@@ -4723,7 +4723,7 @@ project(":apps") {
         params << "-Drun.patch=@${rootProject.buildDir}/${RUNARGSFILE}"
 
         def appsJar = project.task("appsJar${t.capital}") {
-            dependsOn(sdk, getLucene)
+            dependsOn(sdk)
             doLast() {
                 ant(t.name,
                       projectDir.path,
openSUSE Build Service is sponsored by