1
0
mirror of https://github.com/google/nomulus synced 2026-04-26 19:15:24 +00:00

Upgrade to Gradle 9 (#2993)

This commit is contained in:
Weimin Yu
2026-03-30 13:15:55 -04:00
committed by GitHub
parent 193ccb5ad3
commit 03b3f9f5a0
31 changed files with 827 additions and 570 deletions

View File

@@ -52,21 +52,21 @@ tasks.test.finalizedBy jacocoTestReport
configurations {
deploy_jar.extendsFrom runtimeClasspath
all.findAll {
matching {
it.name in ['runtimeClasspath', 'compileClasspath']
}.each {
}.all {
// JUnit is from org.apache.beam:beam-runners-google-cloud-dataflow-java,
// and json-simple.
it.exclude group: 'junit'
exclude group: 'junit'
// Mockito is from org.apache.beam:beam-runners-google-cloud-dataflow-java
// See https://issues.apache.org/jira/browse/BEAM-8862
it.exclude group: 'org.mockito', module: 'mockito-core'
exclude group: 'org.mockito', module: 'mockito-core'
}
all.each {
all {
// log4j has high-profile security vulnerabilities. It's a transitive
// dependency used by some Apache Beam packages. Excluding it does not
// impact our troubleshooting needs.
it.exclude group: 'org.apache.logging.log4j'
exclude group: 'org.apache.logging.log4j'
}
}
@@ -153,7 +153,7 @@ spotless {
target '**/*.gradle'
targetExclude '**/cloudbuild-caches/**'
trimTrailingWhitespace()
indentWithSpaces(2)
leadingTabsToSpaces(2)
endWithNewline()
}
}