-
Notifications
You must be signed in to change notification settings - Fork 425
Use version catalog. #7381
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
base: master
Are you sure you want to change the base?
Use version catalog. #7381
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,77 @@ | ||
| ## Generated by adding the following to setting.gradle | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove this comment |
||
| ## plugins { | ||
| ## // See https://jmfayard.github.io/refreshVersions | ||
| ## id("de.fayard.refreshVersions") version "0.60.6" | ||
| ## } | ||
| ## and then running: | ||
| ## ./gradlew refreshVersionsMigrate --mode=VersionCatalogOnly | ||
|
|
||
| [plugins] | ||
|
|
||
| com-gradleup-shadow = { id = "com.gradleup.shadow", version = "9.2.2" } | ||
|
|
||
| de-undercouch-download = { id = "de.undercouch.download", version = "5.6.0" } | ||
|
|
||
| net-ltgt-errorprone = { id = "net.ltgt.errorprone", version = "4.3.0" } | ||
|
|
||
| com-diffplug-spotless = { id = "com.diffplug.spotless", version = "8.0.0" } | ||
|
|
||
| com-gorylenko-gradle-git-properties = { id = "com.gorylenko.gradle-git-properties", version = "2.5.3" } | ||
|
|
||
| biz-aqute-bnd-builder = { id = "biz.aQute.bnd.builder", version = "7.1.0" } | ||
|
|
||
| [versions] | ||
|
|
||
| junit-junit = "4.13.2" | ||
|
|
||
| [libraries] | ||
|
|
||
| # If you update errorproneVersion: | ||
| # * Temporarily comment out "-Werror" in build.gradle files. | ||
| # * Repeatedly run `./gradlew clean compileJava` and fix all errors. | ||
| # * Uncomment "-Werror". | ||
| error-prone-core = "com.google.errorprone:error_prone_core:2.44.0" | ||
|
|
||
| javac = "com.google.errorprone:javac:9+181-r4173-1" | ||
|
|
||
| require-javadoc = "org.plumelib:require-javadoc:2.0.0" | ||
|
|
||
| error-prone-annotations = "com.google.errorprone:error_prone_annotations:2.44.0" | ||
|
|
||
| guava = "org.checkerframework.annotatedlib:guava:33.1.0.2-jre" | ||
|
|
||
| options = "org.plumelib:options:2.0.3" | ||
|
|
||
| plume-util = "org.plumelib:plume-util:1.12.2" | ||
|
|
||
| reflection-util = "org.plumelib:reflection-util:1.1.5" | ||
|
|
||
| asm = "org.ow2.asm:asm:9.9" | ||
|
|
||
| junit = { group = "junit", name = "junit", version.ref = "junit-junit" } | ||
|
|
||
| auto-value-annotations = "com.google.auto.value:auto-value-annotations:1.11.1" | ||
|
|
||
| auto-value = "com.google.auto.value:auto-value:1.11.1" | ||
|
|
||
| auto-value-parcel = "com.ryanharter.auto.value:auto-value-parcel:0.2.9" | ||
|
|
||
| lombok = "org.projectlombok:lombok:1.18.42" | ||
|
|
||
| aws-java-sdk-ec2 = { module = "com.amazonaws:aws-java-sdk-ec2" } | ||
|
|
||
| aws-java-sdk-kms = { module = "com.amazonaws:aws-java-sdk-kms" } | ||
|
|
||
| aws-java-sdk-bom = "com.amazonaws:aws-java-sdk-bom:1.12.793" | ||
|
|
||
| javax-servlet-api = "javax.servlet:javax.servlet-api:4.0.1" | ||
|
|
||
| commons-io = "commons-io:commons-io:2.21.0" | ||
|
|
||
| spark-sql = "org.apache.spark:spark-sql_2.12:3.3.2" | ||
|
|
||
| hashmap-util = "org.plumelib:hashmap-util:0.0.1" | ||
|
|
||
| stubparser = "org.checkerframework:stubparser:3.27.1" | ||
|
|
||
| classgraph = "io.github.classgraph:classgraph:4.8.184" | ||
|
Comment on lines
+1
to
+77
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chainVersion catalog appears comprehensive but missing google-java-format library. The catalog defines 6 plugins and 20+ libraries for the migration. However, This library should either:
Additionally, some entries (com-gorylenko-gradle-git-properties, aws-*, spark-sql) appear unused in the provided files, suggesting the automatic migration captured the complete inventory. Verify whether google-java-format should have been migrated as well. 🌐 Web query: 💡 Result: The latest google-java-format release as of November 14, 2025 is v1.32.0 (released Oct 28, 2025). [1][2] Sources: 🏁 Script executed: #!/bin/bash
# Verify google-java-format references in build.gradle
echo "=== Searching for googleJavaFormat references ==="
rg -n "googleJavaFormat" --type gradle -A2 -B2
echo ""
echo "=== Checking if google-java-format is in the version catalog ==="
grep -i "google-java-format\|googleJavaFormat" gradle/libs.versions.toml || echo "NOT FOUND in catalog"
echo ""
echo "=== Counting entries in [libraries] section ==="
grep -A500 "^\[libraries\]" gradle/libs.versions.toml | grep "=" | wc -lLength of output: 955 Length of output: 336 Add missing google-java-format library to the version catalog. The library is actively used in To complete the migration, add the following entry to the Consider also updating to the latest version (1.32.0, released October 2025) if desired. 🤖 Prompt for AI Agents |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move back to main build file.