mirror of https://github.com/apache/lucene.git
Replace deprecated Gradle 7.2 properties (#417)
This commit is contained in:
parent
53b40e0fb7
commit
23256a30fa
|
@ -29,7 +29,7 @@ allprojects {
|
|||
from('src/test') {
|
||||
exclude '**/*.java'
|
||||
}
|
||||
into sourceSets.test.java.outputDir
|
||||
into sourceSets.test.java.classesDirectory
|
||||
}
|
||||
processTestResources.dependsOn copyTestResources
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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.class
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue