Skip to content

Getting rid of gradle deprecation warnings #1792

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ class BuildPlugin implements Plugin<Project> {

// Enable HTML test reports
project.tasks.withType(Test) { Test testTask ->
testTask.getReports().getByName('html').setEnabled(true)
testTask.getReports().getByName('html').setRequired(true)
}

// Configure project jar task with manifest and include license and notice data.
Expand Down Expand Up @@ -846,7 +846,7 @@ class BuildPlugin implements Plugin<Project> {
maxGranularity 2
}

integrationTest.reports.html.enabled = false
integrationTest.reports.html.required = false
}

private static void configurePrecommit(Project project) {
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion test/fixtures/minikdc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ targetCompatibility = '1.8'
// gradle hides EVERYTHING so you have no clue what went wrong.
task kdc(type: JavaExec) {
classpath = sourceSets.main.compileClasspath + sourceSets.main.output
main = "org.elasticsearch.hadoop.test.fixture.minikdc.MiniKdcFixture"
mainClass = "org.elasticsearch.hadoop.test.fixture.minikdc.MiniKdcFixture"
args = [ 'build/fixtures/miniKdcFixture' ]
}

Expand Down