Skip to content

Commit

Permalink
Update plugins, dependencies, and GitHub Actions
Browse files Browse the repository at this point in the history
Updating Error Prone past 2.31 means JDK 17 is now required
for building.
  • Loading branch information
tbroyer committed Oct 25, 2024
1 parent 284b234 commit 83c23c4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
distribution: 'temurin'
java-version: '21'

- uses: gradle/actions/setup-gradle@v3
- uses: gradle/actions/setup-gradle@v4

- name: Build with Gradle
id: gradle-build
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
echo "org.gradle.java.installations.auto-download=false" | tee -a gradle.properties
echo "org.gradle.java.installations.fromEnv=JAVA_HOME_${{ matrix.java }}_X64" | tee -a gradle.properties
- uses: gradle/actions/setup-gradle@v3
- uses: gradle/actions/setup-gradle@v4

- name: Build with Gradle
id: gradle-build
Expand Down
14 changes: 7 additions & 7 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@
autoService = "1.1.1"

# Versions used by build-logic
googleJavaFormat = "1.22.0"
ktlint = "1.3.1"
googleJavaFormat = "1.24.0"
ktlint = "1.4.0"

[libraries]
autoService = { module = "com.google.auto.service:auto-service", version.ref = "autoService" }
autoService-annotations = { module = "com.google.auto.service:auto-service-annotations", version.ref = "autoService" }
compileTesting = "com.google.testing.compile:compile-testing:0.21.0"
junit = "junit:junit:4.13.2"
truth = "com.google.truth:truth:1.4.3"
truth = "com.google.truth:truth:1.4.4"

# Used in below bundle
errorprone-core = "com.google.errorprone:error_prone_core:2.28.0"
nullaway = "com.uber.nullaway:nullaway:0.11.0"
errorprone-core = "com.google.errorprone:error_prone_core:2.35.1"
nullaway = "com.uber.nullaway:nullaway:0.12.0"

[bundles]
# Used by build-logic
errorprone = [ "errorprone-core", "nullaway" ]

[plugins]
errorprone = "net.ltgt.errorprone:4.0.1"
nullaway = "net.ltgt.nullaway:2.0.0"
errorprone = "net.ltgt.errorprone:4.1.0"
nullaway = "net.ltgt.nullaway:2.1.0"
spotless = "com.diffplug.spotless:6.25.0"

0 comments on commit 83c23c4

Please sign in to comment.