< prev index next >
./build.gradle
Print this page
rev 11044 : 8209652: Ensemble: Update version of Lucene to 7.4.0
Reviewed-by:
@@ -3945,22 +3945,23 @@
project(":apps") {
// The apps build is Ant based, we will exec ant from gradle.
// 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: "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"
+ 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-7.1.0.jar",
- "lucene-grouping-7.1.0.jar",
- "lucene-queryparser-7.1.0.jar" ]
+ def libNames = [ "lucene-core-${luceneVersion}.jar",
+ "lucene-grouping-${luceneVersion}.jar",
+ "lucene-queryparser-${luceneVersion}.jar" ]
task getLucene(type: Copy) {
doFirst {
ensembleLibDir.mkdirs();
< prev index next >