Repository navigation
Let Dependabot see the settings plugins' versions - #797
Merged
Merged
Conversation
ggleyzer
approved these changes
Nov 23, 2026
Dependabot reads a plugins block's version only in Kotlin's infix form, id("…") version "…": its Gradle
file parser matches /version\s+("…")/, so the call form id("…").version("…") gives it the plugin's id and
no version, and it skips the plugin. That is why it never proposed a Develocity or Foojay update. The two
settings files now use the infix form:
- settings.gradle.kts: com.gradle.develocity 4.6.1 and org.gradle.toolchains.foojay-resolver 1.0.0;
- build-logic/settings-plugins/settings.gradle.kts: org.gradle.toolchains.foojay-resolver 1.0.0.
Dependabot's fetcher follows each includeBuild of the settings, so it reads both files, and the catalog's
foojay-resolver entry, which build-logic/settings-plugins uses. The three share the plugin id, so one
grouped Dependabot update changes all of them, and they can't drift apart.
The build doesn't change: Gradle's infix version (PluginDependenciesSpecScopeKt.version) only checks its
receiver and calls PluginDependencySpec.version(String), the method that the call form calls.
Validation: dependabot-core's own patterns (PLUGIN_ID_REGEX, the plugin name and version regexes), run in
Ruby on the three lines, find no version on master and each version on this branch.
./gradlew :javatools:help --configuration-cache --warning-mode all, which compiles settings-plugins: the
entry is stored, then reused, with no deprecation.
Limits: xvm's Dependabot configuration ignores major updates, so a Develocity 5 still needs a manual upgrade.
lagergren
force-pushed
the
lagergren/dependabot-settings-plugins
branch
from
November 23, 2026 14:12
ff9d7fa to
3d031fa
Compare
lagergren
enabled auto-merge (squash)
November 23, 2026 14:12
lagergren
added a commit
that referenced
this pull request
Nov 25, 2026
Both branches were backed up as backup/lagergren-errs-2026-11-25 (c8c6d6f) and backup/693-2026-11-25 (49b5f8a), and tags of those names, then rebased onto master's 8b5257f, past #792, #798 (Gradle 9.9.2), #797, #796, #799, #800, #790, #793 and #803 (the JIT milestone's JitInfo). errs-rebase-2026-11-25.tsv maps errs' 1746 commits (from 60d36426eb, the remote's c8c6d6f with the commit that aligns errs' code to #693's): 1739 replayed, six with a resolved conflict, and a2e343c dropped, which master has as #800. errs-693-rebase-2026-11-25.tsv maps #693's 468 (from 49b5f8a): 466 replayed, one resolved, and its #800 copy 09e61bd dropped. Every conflict was in TypeConstant.java, where #803 moved the JIT class names into JitInfo, removing getJitCCType(), getJitICType() and the CD_Class and CD_Ctx imports. Each is resolved keeping master's change and the branch's: - errs' 1a5a748, 3f272ef, 7becf17, a500b09 and ac92dcf edit getJitICType()'s assert (its listener, BLACKHOLE to PROBE to silent(PROBE)) or the two methods' javadoc. Those methods are gone, so those hunks keep master's side; the commits' other changes apply. - errs' 23faf03 moves the ErrorListener static imports up beside CD_Class and CD_Ctx, and #693's 29029a8 adds them there; both keep the ErrorListener imports there, without the two imports #803 removed. #693's 29029a8 also has errs' getJitICType() hunk, resolved the same way. The rebase broke javatools' compile without a conflict: #803's three new newable checks say ErrorListener.BLACKHOLE, which errs no longer has. The commit that removes BLACKHOLE (errs e2e53f3, #693 1ddea3e) now also makes those checks say silent(PROBE), so that every commit after it compiles, as javatools' compileJava there and halfway to the tip shows on both branches; the commit before this one (#693 ef37030) drops TypeConstant's import of PROBE, whose only use went with getJitICType(). The two tables' new commits are those of this history. Checks: - Outside the 83 files master's nine commits changed, both rebased trees are identical to the trees they were rebased from (60d36426eb, 49b5f8a). Each of the ten files that master and the branches both changed equals a three-way merge of the old tree's file and master's, except TypeConstant.java, whose two conflicts are the ones above. - errs' and #693's code is identical: git diff of the two heads outside doc/errs, *.md and lang/doc/plans is empty. - On errs, after :xdk:installDist: :javatools:test 648 tests, 0 failures, 42 skipped (all @disabled, Windows-only or RUN_INTEGRATION_TESTS); :plugin:validatePlugins, and :plugin:test 83, 0 failures, 14 skipped; :xdk:testXtc, which has no test modules of its own, and the XDK's two, :xdk:lib-json:testXtc (179 passed) and :xdk:lib-metrics:testXtc (4 passed); :lang:lsp-server:test with -PlspTests=default 2593, 0 failures, 773 skipped (the default tier's later parameterized cases); :lang:intellij-plugin:test 233, 0 failures, 0 skipped, and compileIntegrationTestKotlin; :lang:dap-server:test 61, 0 failures, 0 skipped. spotlessCheck passes and git status is clean.
lagergren
added a commit
that referenced
this pull request
Nov 25, 2026
Both branches were backed up as backup/lagergren-errs-2026-11-25 (c8c6d6f) and backup/693-2026-11-25 (49b5f8a), and tags of those names, then rebased onto master's 8b5257f, past #792, #798 (Gradle 9.9.2), #797, #796, #799, #800, #790, #793 and #803 (the JIT milestone's JitInfo). errs-rebase-2026-11-25.tsv maps errs' 1746 commits (from 60d36426eb, the remote's c8c6d6f with the commit that aligns errs' code to #693's): 1739 replayed, six with a resolved conflict, and a2e343c dropped, which master has as #800. errs-693-rebase-2026-11-25.tsv maps #693's 468 (from 49b5f8a): 466 replayed, one resolved, and its #800 copy 09e61bd dropped. Every conflict was in TypeConstant.java, where #803 moved the JIT class names into JitInfo, removing getJitCCType(), getJitICType() and the CD_Class and CD_Ctx imports. Each is resolved keeping master's change and the branch's: - errs' 1a5a748, 3f272ef, 7becf17, a500b09 and ac92dcf edit getJitICType()'s assert (its listener, BLACKHOLE to PROBE to silent(PROBE)) or the two methods' javadoc. Those methods are gone, so those hunks keep master's side; the commits' other changes apply. - errs' 23faf03 moves the ErrorListener static imports up beside CD_Class and CD_Ctx, and #693's 29029a8 adds them there; both keep the ErrorListener imports there, without the two imports #803 removed. #693's 29029a8 also has errs' getJitICType() hunk, resolved the same way. The rebase broke javatools' compile without a conflict: #803's three new newable checks say ErrorListener.BLACKHOLE, which errs no longer has. The commit that removes BLACKHOLE (errs e2e53f3, #693 1ddea3e) now also makes those checks say silent(PROBE), so that every commit after it compiles, as javatools' compileJava there and halfway to the tip shows on both branches; the commit before this one (#693 ef37030) drops TypeConstant's import of PROBE, whose only use went with getJitICType(). The two tables' new commits are those of this history. Checks: - Outside the 83 files master's nine commits changed, both rebased trees are identical to the trees they were rebased from (60d36426eb, 49b5f8a). Each of the ten files that master and the branches both changed equals a three-way merge of the old tree's file and master's, except TypeConstant.java, whose two conflicts are the ones above. - errs' and #693's code is identical: git diff of the two heads outside doc/errs, *.md and lang/doc/plans is empty. - On errs, after :xdk:installDist: :javatools:test 648 tests, 0 failures, 42 skipped (all @disabled, Windows-only or RUN_INTEGRATION_TESTS); :plugin:validatePlugins, and :plugin:test 83, 0 failures, 14 skipped; :xdk:testXtc, which has no test modules of its own, and the XDK's two, :xdk:lib-json:testXtc (179 passed) and :xdk:lib-metrics:testXtc (4 passed); :lang:lsp-server:test with -PlspTests=default 2593, 0 failures, 773 skipped (the default tier's later parameterized cases); :lang:intellij-plugin:test 233, 0 failures, 0 skipped, and compileIntegrationTestKotlin; :lang:dap-server:test 61, 0 failures, 0 skipped. spotlessCheck passes and git status is clean.
lagergren
added a commit
that referenced
this pull request
Nov 25, 2026
Both branches were backed up as backup/lagergren-errs-2026-11-25 (c8c6d6f) and backup/693-2026-11-25 (49b5f8a), and tags of those names, then rebased onto master's 8b5257f, past #792, #798 (Gradle 9.9.2), #797, #796, #799, #800, #790, #793 and #803 (the JIT milestone's JitInfo). errs-rebase-2026-11-25.tsv maps errs' 1746 commits (from 60d36426eb, the remote's c8c6d6f with the commit that aligns errs' code to #693's): 1739 replayed, six with a resolved conflict, and a2e343c dropped, which master has as #800. errs-693-rebase-2026-11-25.tsv maps #693's 468 (from 49b5f8a): 466 replayed, one resolved, and its #800 copy 09e61bd dropped. Every conflict was in TypeConstant.java, where #803 moved the JIT class names into JitInfo, removing getJitCCType(), getJitICType() and the CD_Class and CD_Ctx imports. Each is resolved keeping master's change and the branch's: - errs' 1a5a748, 3f272ef, 7becf17, a500b09 and ac92dcf edit getJitICType()'s assert (its listener, BLACKHOLE to PROBE to silent(PROBE)) or the two methods' javadoc. Those methods are gone, so those hunks keep master's side; the commits' other changes apply. - errs' 23faf03 moves the ErrorListener static imports up beside CD_Class and CD_Ctx, and #693's 29029a8 adds them there; both keep the ErrorListener imports there, without the two imports #803 removed. #693's 29029a8 also has errs' getJitICType() hunk, resolved the same way. The rebase broke javatools' compile without a conflict: #803's three new newable checks say ErrorListener.BLACKHOLE, which errs no longer has. The commit that removes BLACKHOLE (errs e2e53f3, #693 1ddea3e) now also makes those checks say silent(PROBE), so that every commit after it compiles, as javatools' compileJava there and halfway to the tip shows on both branches; the commit before this one (#693 ef37030) drops TypeConstant's import of PROBE, whose only use went with getJitICType(). The two tables' new commits are those of this history. Checks: - Outside the 83 files master's nine commits changed, both rebased trees are identical to the trees they were rebased from (60d36426eb, 49b5f8a). Each of the ten files that master and the branches both changed equals a three-way merge of the old tree's file and master's, except TypeConstant.java, whose two conflicts are the ones above. - errs' and #693's code is identical: git diff of the two heads outside doc/errs, *.md and lang/doc/plans is empty. - On errs, after :xdk:installDist: :javatools:test 648 tests, 0 failures, 42 skipped (all @disabled, Windows-only or RUN_INTEGRATION_TESTS); :plugin:validatePlugins, and :plugin:test 83, 0 failures, 14 skipped; :xdk:testXtc, which has no test modules of its own, and the XDK's two, :xdk:lib-json:testXtc (179 passed) and :xdk:lib-metrics:testXtc (4 passed); :lang:lsp-server:test with -PlspTests=default 2593, 0 failures, 773 skipped (the default tier's later parameterized cases); :lang:intellij-plugin:test 233, 0 failures, 0 skipped, and compileIntegrationTestKotlin; :lang:dap-server:test 61, 0 failures, 0 skipped. spotlessCheck passes and git status is clean.
lagergren
added a commit
that referenced
this pull request
Nov 26, 2026
Both branches were backed up as backup/lagergren-errs-2026-11-25 (c8c6d6f) and backup/693-2026-11-25 (49b5f8a), and tags of those names, then rebased onto master's 8b5257f, past #792, #798 (Gradle 9.9.2), #797, #796, #799, #800, #790, #793 and #803 (the JIT milestone's JitInfo). errs-rebase-2026-11-25.tsv maps errs' 1746 commits (from 60d36426eb, the remote's c8c6d6f with the commit that aligns errs' code to #693's): 1739 replayed, six with a resolved conflict, and a2e343c dropped, which master has as #800. errs-693-rebase-2026-11-25.tsv maps #693's 468 (from 49b5f8a): 466 replayed, one resolved, and its #800 copy 09e61bd dropped. Every conflict was in TypeConstant.java, where #803 moved the JIT class names into JitInfo, removing getJitCCType(), getJitICType() and the CD_Class and CD_Ctx imports. Each is resolved keeping master's change and the branch's: - errs' 1a5a748, 3f272ef, 7becf17, a500b09 and ac92dcf edit getJitICType()'s assert (its listener, BLACKHOLE to PROBE to silent(PROBE)) or the two methods' javadoc. Those methods are gone, so those hunks keep master's side; the commits' other changes apply. - errs' 23faf03 moves the ErrorListener static imports up beside CD_Class and CD_Ctx, and #693's 29029a8 adds them there; both keep the ErrorListener imports there, without the two imports #803 removed. #693's 29029a8 also has errs' getJitICType() hunk, resolved the same way. The rebase broke javatools' compile without a conflict: #803's three new newable checks say ErrorListener.BLACKHOLE, which errs no longer has. The commit that removes BLACKHOLE (errs e2e53f3, #693 1ddea3e) now also makes those checks say silent(PROBE), so that every commit after it compiles, as javatools' compileJava there and halfway to the tip shows on both branches; the commit before this one (#693 ef37030) drops TypeConstant's import of PROBE, whose only use went with getJitICType(). The two tables' new commits are those of this history. Checks: - Outside the 83 files master's nine commits changed, both rebased trees are identical to the trees they were rebased from (60d36426eb, 49b5f8a). Each of the ten files that master and the branches both changed equals a three-way merge of the old tree's file and master's, except TypeConstant.java, whose two conflicts are the ones above. - errs' and #693's code is identical: git diff of the two heads outside doc/errs, *.md and lang/doc/plans is empty. - On errs, after :xdk:installDist: :javatools:test 648 tests, 0 failures, 42 skipped (all @disabled, Windows-only or RUN_INTEGRATION_TESTS); :plugin:validatePlugins, and :plugin:test 83, 0 failures, 14 skipped; :xdk:testXtc, which has no test modules of its own, and the XDK's two, :xdk:lib-json:testXtc (179 passed) and :xdk:lib-metrics:testXtc (4 passed); :lang:lsp-server:test with -PlspTests=default 2593, 0 failures, 773 skipped (the default tier's later parameterized cases); :lang:intellij-plugin:test 233, 0 failures, 0 skipped, and compileIntegrationTestKotlin; :lang:dap-server:test 61, 0 failures, 0 skipped. spotlessCheck passes and git status is clean.
lagergren
added a commit
that referenced
this pull request
Nov 26, 2026
Both branches were backed up as backup/lagergren-errs-2026-11-25 (c8c6d6f) and backup/693-2026-11-25 (49b5f8a), and tags of those names, then rebased onto master's 8b5257f, past #792, #798 (Gradle 9.9.2), #797, #796, #799, #800, #790, #793 and #803 (the JIT milestone's JitInfo). errs-rebase-2026-11-25.tsv maps errs' 1746 commits (from 60d36426eb, the remote's c8c6d6f with the commit that aligns errs' code to #693's): 1739 replayed, six with a resolved conflict, and a2e343c dropped, which master has as #800. errs-693-rebase-2026-11-25.tsv maps #693's 468 (from 49b5f8a): 466 replayed, one resolved, and its #800 copy 09e61bd dropped. Every conflict was in TypeConstant.java, where #803 moved the JIT class names into JitInfo, removing getJitCCType(), getJitICType() and the CD_Class and CD_Ctx imports. Each is resolved keeping master's change and the branch's: - errs' 1a5a748, 3f272ef, 7becf17, a500b09 and ac92dcf edit getJitICType()'s assert (its listener, BLACKHOLE to PROBE to silent(PROBE)) or the two methods' javadoc. Those methods are gone, so those hunks keep master's side; the commits' other changes apply. - errs' 23faf03 moves the ErrorListener static imports up beside CD_Class and CD_Ctx, and #693's 29029a8 adds them there; both keep the ErrorListener imports there, without the two imports #803 removed. #693's 29029a8 also has errs' getJitICType() hunk, resolved the same way. The rebase broke javatools' compile without a conflict: #803's three new newable checks say ErrorListener.BLACKHOLE, which errs no longer has. The commit that removes BLACKHOLE (errs e2e53f3, #693 1ddea3e) now also makes those checks say silent(PROBE), so that every commit after it compiles, as javatools' compileJava there and halfway to the tip shows on both branches; the commit before this one (#693 ef37030) drops TypeConstant's import of PROBE, whose only use went with getJitICType(). The two tables' new commits are those of this history. Checks: - Outside the 83 files master's nine commits changed, both rebased trees are identical to the trees they were rebased from (60d36426eb, 49b5f8a). Each of the ten files that master and the branches both changed equals a three-way merge of the old tree's file and master's, except TypeConstant.java, whose two conflicts are the ones above. - errs' and #693's code is identical: git diff of the two heads outside doc/errs, *.md and lang/doc/plans is empty. - On errs, after :xdk:installDist: :javatools:test 648 tests, 0 failures, 42 skipped (all @disabled, Windows-only or RUN_INTEGRATION_TESTS); :plugin:validatePlugins, and :plugin:test 83, 0 failures, 14 skipped; :xdk:testXtc, which has no test modules of its own, and the XDK's two, :xdk:lib-json:testXtc (179 passed) and :xdk:lib-metrics:testXtc (4 passed); :lang:lsp-server:test with -PlspTests=default 2593, 0 failures, 773 skipped (the default tier's later parameterized cases); :lang:intellij-plugin:test 233, 0 failures, 0 skipped, and compileIntegrationTestKotlin; :lang:dap-server:test 61, 0 failures, 0 skipped. spotlessCheck passes and git status is clean.
lagergren
added a commit
that referenced
this pull request
Nov 27, 2026
Both branches were backed up as backup/lagergren-errs-2026-11-25 (c8c6d6f) and backup/693-2026-11-25 (49b5f8a), and tags of those names, then rebased onto master's 8b5257f, past #792, #798 (Gradle 9.9.2), #797, #796, #799, #800, #790, #793 and #803 (the JIT milestone's JitInfo). errs-rebase-2026-11-25.tsv maps errs' 1746 commits (from 60d36426eb, the remote's c8c6d6f with the commit that aligns errs' code to #693's): 1739 replayed, six with a resolved conflict, and a2e343c dropped, which master has as #800. errs-693-rebase-2026-11-25.tsv maps #693's 468 (from 49b5f8a): 466 replayed, one resolved, and its #800 copy 09e61bd dropped. Every conflict was in TypeConstant.java, where #803 moved the JIT class names into JitInfo, removing getJitCCType(), getJitICType() and the CD_Class and CD_Ctx imports. Each is resolved keeping master's change and the branch's: - errs' 1a5a748, 3f272ef, 7becf17, a500b09 and ac92dcf edit getJitICType()'s assert (its listener, BLACKHOLE to PROBE to silent(PROBE)) or the two methods' javadoc. Those methods are gone, so those hunks keep master's side; the commits' other changes apply. - errs' 23faf03 moves the ErrorListener static imports up beside CD_Class and CD_Ctx, and #693's 29029a8 adds them there; both keep the ErrorListener imports there, without the two imports #803 removed. #693's 29029a8 also has errs' getJitICType() hunk, resolved the same way. The rebase broke javatools' compile without a conflict: #803's three new newable checks say ErrorListener.BLACKHOLE, which errs no longer has. The commit that removes BLACKHOLE (errs e2e53f3, #693 1ddea3e) now also makes those checks say silent(PROBE), so that every commit after it compiles, as javatools' compileJava there and halfway to the tip shows on both branches; the commit before this one (#693 ef37030) drops TypeConstant's import of PROBE, whose only use went with getJitICType(). The two tables' new commits are those of this history. Checks: - Outside the 83 files master's nine commits changed, both rebased trees are identical to the trees they were rebased from (60d36426eb, 49b5f8a). Each of the ten files that master and the branches both changed equals a three-way merge of the old tree's file and master's, except TypeConstant.java, whose two conflicts are the ones above. - errs' and #693's code is identical: git diff of the two heads outside doc/errs, *.md and lang/doc/plans is empty. - On errs, after :xdk:installDist: :javatools:test 648 tests, 0 failures, 42 skipped (all @disabled, Windows-only or RUN_INTEGRATION_TESTS); :plugin:validatePlugins, and :plugin:test 83, 0 failures, 14 skipped; :xdk:testXtc, which has no test modules of its own, and the XDK's two, :xdk:lib-json:testXtc (179 passed) and :xdk:lib-metrics:testXtc (4 passed); :lang:lsp-server:test with -PlspTests=default 2593, 0 failures, 773 skipped (the default tier's later parameterized cases); :lang:intellij-plugin:test 233, 0 failures, 0 skipped, and compileIntegrationTestKotlin; :lang:dap-server:test 61, 0 failures, 0 skipped. spotlessCheck passes and git status is clean.
lagergren
added a commit
that referenced
this pull request
Nov 28, 2026
Both branches were backed up as backup/lagergren-errs-2026-11-25 (c8c6d6f) and backup/693-2026-11-25 (49b5f8a), and tags of those names, then rebased onto master's 8b5257f, past #792, #798 (Gradle 9.9.2), #797, #796, #799, #800, #790, #793 and #803 (the JIT milestone's JitInfo). errs-rebase-2026-11-25.tsv maps errs' 1746 commits (from 60d36426eb, the remote's c8c6d6f with the commit that aligns errs' code to #693's): 1739 replayed, six with a resolved conflict, and a2e343c dropped, which master has as #800. errs-693-rebase-2026-11-25.tsv maps #693's 468 (from 49b5f8a): 466 replayed, one resolved, and its #800 copy 09e61bd dropped. Every conflict was in TypeConstant.java, where #803 moved the JIT class names into JitInfo, removing getJitCCType(), getJitICType() and the CD_Class and CD_Ctx imports. Each is resolved keeping master's change and the branch's: - errs' 1a5a748, 3f272ef, 7becf17, a500b09 and ac92dcf edit getJitICType()'s assert (its listener, BLACKHOLE to PROBE to silent(PROBE)) or the two methods' javadoc. Those methods are gone, so those hunks keep master's side; the commits' other changes apply. - errs' 23faf03 moves the ErrorListener static imports up beside CD_Class and CD_Ctx, and #693's 29029a8 adds them there; both keep the ErrorListener imports there, without the two imports #803 removed. #693's 29029a8 also has errs' getJitICType() hunk, resolved the same way. The rebase broke javatools' compile without a conflict: #803's three new newable checks say ErrorListener.BLACKHOLE, which errs no longer has. The commit that removes BLACKHOLE (errs e2e53f3, #693 1ddea3e) now also makes those checks say silent(PROBE), so that every commit after it compiles, as javatools' compileJava there and halfway to the tip shows on both branches; the commit before this one (#693 ef37030) drops TypeConstant's import of PROBE, whose only use went with getJitICType(). The two tables' new commits are those of this history. Checks: - Outside the 83 files master's nine commits changed, both rebased trees are identical to the trees they were rebased from (60d36426eb, 49b5f8a). Each of the ten files that master and the branches both changed equals a three-way merge of the old tree's file and master's, except TypeConstant.java, whose two conflicts are the ones above. - errs' and #693's code is identical: git diff of the two heads outside doc/errs, *.md and lang/doc/plans is empty. - On errs, after :xdk:installDist: :javatools:test 648 tests, 0 failures, 42 skipped (all @disabled, Windows-only or RUN_INTEGRATION_TESTS); :plugin:validatePlugins, and :plugin:test 83, 0 failures, 14 skipped; :xdk:testXtc, which has no test modules of its own, and the XDK's two, :xdk:lib-json:testXtc (179 passed) and :xdk:lib-metrics:testXtc (4 passed); :lang:lsp-server:test with -PlspTests=default 2593, 0 failures, 773 skipped (the default tier's later parameterized cases); :lang:intellij-plugin:test 233, 0 failures, 0 skipped, and compileIntegrationTestKotlin; :lang:dap-server:test 61, 0 failures, 0 skipped. spotlessCheck passes and git status is clean.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Dependabot has never proposed an update for the two settings plugins, Develocity and Foojay. Its Gradle parser reads a
plugins {}version only in Kotlin's infix form,id("…") version "…". Its version pattern is/version\s+(?<version>…)/(gradle/lib/dependabot/gradle/file_parser.rb,plugin_dependencies). With xvm's call form,id("…").version("…"), it finds the plugin's id but no version, and skips the plugin.This PR writes the three versions in the infix form:
settings.gradle.ktscom.gradle.develocitysettings.gradle.ktsorg.gradle.toolchains.foojay-resolverbuild-logic/settings-plugins/settings.gradle.ktsorg.gradle.toolchains.foojay-resolverDependabot's fetcher follows each
includeBuildin the settings, so it reads both files. It also reads the catalog'sfoojay-resolverentry, whichbuild-logic/settings-pluginsuses as a dependency. All three Foojay entries share the plugin id, so one grouped Dependabot update changes them together, and they can't drift apart.The build is unchanged. Gradle's infix
version(PluginDependenciesSpecScopeKt.version) checks that its receiver isn't null and callsPluginDependencySpec.version(String), the method that the call form calls directly.The versions stay in the settings files, not in
libs.versions.toml. A settingsplugins {}block is resolved before the version catalog exists, and Gradle generates no catalog accessors for settings scripts. Moving the plugins into a settings convention plugin frombuild-logic/settings-pluginswould avoid that, but it would buildsettings-pluginsbefore Develocity is applied. Build scans would then miss that build, and its failures would come before any scan.Type of change
How Has This Been Tested?
Dependabot's patterns: dependabot-core's own regexes (
PLUGIN_ID_REGEX, the plugin name pattern andversion_regex), run in Ruby on the three lines. Onmasterthey find each plugin's id and no version; on this branch, each version.The build:
./gradlew :javatools:help --configuration-cache --warning-mode allcompilesbuild-logic/settings-plugins, so it evaluates both settings files. The configuration cache entry is stored, then reused on the next run, and neither run prints a deprecation.Bootstrap from scratch: both
masterand this branch, each with an emptyGRADLE_USER_HOMEand JDK 17 as the only JVM that runsgradlew. xvm setsorg.gradle.java.installations.auto-detect=false, so no installed JDK is used. In both builds:toolchainUrlingradle-daemon-jvm.properties;foojay-resolver-1.0.0from the Plugin Portal;:javatools:compileJavasucceeded with the provisioned JDK 25 toolchain;updateDaemonJvm --jvm-version 25, which resolves its URLs through Foojay's resolver, succeeded and wrote the same properties.Limit: xvm's
dependabot.ymlignores major updates for every dependency, so a Develocity 5 would still be a manual upgrade.