Apache Lucene open-source search software
Replace deprecated Gradle 7.2 properties (#417)
Mike Drob23256a30fa34
diff --git a/gradle/java/folder-layout.gradle b/gradle/java/folder-layout.gradleindex 11133aa9cee..8b21f81b479 100644--- a/gradle/java/folder-layout.gradle+++ b/gradle/java/folder-layout.gradle@@ -29,7 +29,7 @@ allprojects {from('src/test') {exclude '**/*.java'}- into sourceSets.test.java.outputDir+ into sourceSets.test.java.classesDirectory}processTestResources.dependsOn copyTestResourcesdiff --git a/gradle/testing/defaults-tests.gradle b/gradle/testing/defaults-tests.gradleindex 986e7770844..4d36a67c670 100644--- a/gradle/testing/defaults-tests.gradle+++ b/gradle/testing/defaults-tests.gradle@@ -90,7 +90,7 @@ allprojects {tasks.withType(Test) {ext {- testOutputsDir = file("${reports.junitXml.destination}/outputs")+ testOutputsDir = file("${reports.junitXml.outputLocation}/outputs")}// LUCENE-9660: Make it possible to always rerun tests, even if they're incrementally up-to-date.@@ -148,7 +148,7 @@ allprojects {}// Disable HTML report generation. The reports are big and slow to generate.- reports.html.enabled = false+ reports.html.required = false// Set up logging.testLogging {diff --git a/gradle/validation/ecj-lint.gradle b/gradle/validation/ecj-lint.gradleindex 2b49717a9e0..a8f7e282cfa 100644--- a/gradle/validation/ecj-lint.gradle+++ b/gradle/validation/ecj-lint.gradle@@ -52,7 +52,7 @@ allprojects {enabled = !srcDirs.isEmpty()classpath = rootProject.configurations.ecjDeps- main = "org.eclipse.jdt.internal.compiler.batch.Main"+ mainClass = "org.eclipse.jdt.internal.compiler.batch.Main"// Don't emit any .class files.// Hack around "-d none" still emitting package-info.classdiff --git a/lucene/benchmark/build.gradle b/lucene/benchmark/build.gradleindex 565516a31cc..df8c16748f5 100644--- a/lucene/benchmark/build.gradle+++ b/lucene/benchmark/build.gradle@@ -50,7 +50,7 @@ sourceSets {task run(type: JavaExec) {description "Run a perf test (optional: -PtaskAlg=conf/your-algorithm-file -PmaxHeapSize=1G)"- main 'org.apache.lucene.benchmark.byTask.Benchmark'+ mainClass = 'org.apache.lucene.benchmark.byTask.Benchmark'classpath sourceSets.main.runtimeClasspath// allow these to be specified on the CLI via -PtaskAlg= for example