Skip to content

Commit

Permalink
build upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-manes committed Mar 23, 2024
1 parent 2760df1 commit b0fb224
Show file tree
Hide file tree
Showing 21 changed files with 28 additions and 29 deletions.
4 changes: 2 additions & 2 deletions .github/actions/run-gradle/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ inputs:
required: true
description: The JDK version
early-access:
default: '22'
default: '23'
required: false
description: The early access release
graal:
default: '17'
default: '21'
required: false
description: The GraalVM version
token:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
forbiddenApis:
runs-on: ubuntu-latest
env:
JAVA_VERSION: 21
JAVA_VERSION: 22
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
Expand All @@ -41,7 +41,7 @@ jobs:
pmd:
runs-on: ubuntu-latest
env:
JAVA_VERSION: 21
JAVA_VERSION: 22
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
Expand All @@ -59,7 +59,7 @@ jobs:
spotbugs:
runs-on: ubuntu-latest
env:
JAVA_VERSION: 21
JAVA_VERSION: 22
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 11, 21, 22, GraalVM ]
java: [ 11, 21, 23, GraalVM ]
env:
JAVA_VERSION: ${{ matrix.java }}
steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ env:
schemastore.org:443
www.graalvm.org:443
PUBLISH_JDK: 11
EA_JDK: 22
EA_JDK: 23

jobs:
compile:
Expand All @@ -48,7 +48,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 11, 21, 22, GraalVM ]
java: [ 11, 22, 23, GraalVM ]
env:
JAVA_VERSION: ${{ matrix.java }}
steps:
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
- simulator:check
- jcache:check
- guava:check
java: [ 11, 21 ]
java: [ 11, 22 ]
include:
- suite: caffeine:weakKeysAndStrongValuesStatsSyncGuavaSlowTest
java: 11
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions: read-all

env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
JAVA_VERSION: 21
JAVA_VERSION: 22

jobs:
dependency-check:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-submission-pr-retreive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
JAVA_VERSION: 21
JAVA_VERSION: 22

jobs:
submit-dependency-graph:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-submission-pr-submit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [ pull_request ]

env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
JAVA_VERSION: 21
JAVA_VERSION: 22

jobs:
dependency-submission:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-submission.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [ push ]

env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
JAVA_VERSION: 21
JAVA_VERSION: 22

jobs:
dependency-submission:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [ push, pull_request ]

env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
JAVA_VERSION: 21
JAVA_VERSION: 22

jobs:
examples:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/scorecards-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
api.osv.dev:443
api.securityscorecards.dev:443
bestpractices.coreinfrastructure.org:443
bestpractices.dev:443
fulcio.sigstore.dev:443
github.com:443
oss-fuzz-build-logs.storage.googleapis.com:443
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-rc-3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-rc-3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
Expand Down
2 changes: 1 addition & 1 deletion examples/hibernate/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ testing.suites {
}

java.toolchain.languageVersion = JavaLanguageVersion.of(
System.getenv("JAVA_VERSION")?.toIntOrNull() ?: 11)
System.getenv("JAVA_VERSION")?.toIntOrNull() ?: 17)

tasks.withType<JavaCompile>().configureEach {
javaCompiler = javaToolchains.compilerFor {
Expand Down
2 changes: 1 addition & 1 deletion examples/hibernate/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versions]
caffeine = "3.1.8"
h2 = "2.2.224"
hibernate = "6.4.4.Final"
hibernate = "6.5.0.CR1"
junit = "5.10.2"
log4j2 = "3.0.0-beta2"
slf4j = "2.0.7"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-rc-3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-rc-3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
Expand Down
2 changes: 1 addition & 1 deletion examples/write-behind-rxjava/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
awaitility = "4.2.0"
awaitility = "4.2.1"
caffeine = "3.1.8"
junit = "5.10.2"
rxjava = "3.1.8"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-rc-3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
Expand Down
4 changes: 1 addition & 3 deletions gradle/config/pmd/rulesSets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
<exclude name="ShortClassName"/>
<exclude name="ShortMethodName"/>
<exclude name="ConfusingTernary"/>
<exclude name="UseExplicitTypes"/>
<exclude name="UnnecessaryReturn"/>
<exclude name="UseDiamondOperator"/>
<exclude name="UselessParentheses"/>
Expand Down Expand Up @@ -79,10 +80,8 @@
<exclude name="ExcessiveImports"/>
<exclude name="CognitiveComplexity"/>
<exclude name="CyclomaticComplexity"/>
<exclude name="ExcessiveClassLength"/>
<exclude name="ExcessivePublicCount"/>
<exclude name="LoosePackageCoupling"/>
<exclude name="ExcessiveMethodLength"/>
<exclude name="CouplingBetweenObjects"/>
<exclude name="AvoidRethrowingException"/>
<exclude name="AbstractClassWithoutAnyMethod"/>
Expand All @@ -99,7 +98,6 @@

<rule ref="category/java/errorprone.xml">
<exclude name="DontImportSun"/>
<exclude name="EmptyWhileStmt"/>
<exclude name="NullAssignment"/>
<exclude name="AssignmentInOperand"/>
<exclude name="UseProperClassLoader"/>
Expand Down
6 changes: 3 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ bouncycastle-jdk18on = "1.77"
cache2k = "2.6.1.Final"
caffeine = "3.1.8"
checker-framework = "3.42.0"
checkstyle = "10.14.1"
checkstyle = "10.14.2"
coherence = "22.06.2"
commons-collections4 = "4.4"
commons-compress = "1.26.1"
Expand Down Expand Up @@ -77,15 +77,15 @@ osgi-promise = "1.3.0"
pax-exam = "4.13.5"
pax-url = "2.6.14"
picocli = "4.7.5"
pmd = "7.0.0-rc4"
pmd = "7.0.0"
protobuf = "4.26.0"
slf4j = "2.0.12"
slf4j-test = "3.0.1"
snakeyaml = "2.2"
sonarqube = "4.4.1.3373"
spotbugs-contrib = "7.6.4"
spotbugs-core = "4.8.3"
spotbugs-plugin = "6.0.8"
spotbugs-plugin = "6.0.9"
stream = "2.9.8"
tcache = "2.0.1"
testng = "7.9.0"
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-rc-3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
Expand Down

0 comments on commit b0fb224

Please sign in to comment.