Skip to content

build: let Renovate bump the build JDK - #267

Merged
mateuszkwiecinski merged 1 commit into
masterfrom
claude/renovate-build-jdk
Nov 21, 2026
Merged

mateuszkwiecinski merged 1 commit into
masterfrom
claude/renovate-build-jdk

Conversation

@mateuszkwiecinski

Copy link
Copy Markdown
Member

Summary

Make the build JDK manageable by Renovate, as in usefulness/project-starter#911. This works: see usefulness/project-starter#913.

  • Extend github>usefulness/project-starter//.github/renovate/build-jdk. It tracks .java-version and the catalog's java-compilation, follows every GA JDK release (not just LTS), bumps all pins in one PR and never automerges.
  • No version values change in this PR. Renovate's follow-up PR will move the build JDK to 27.
  • Bytecode targets (commonConfig.javaVersion, jvmTarget, options.release, java-target) are untouched.

JDK 27 notes

Gradle 9.9.2 supports JDK 27, and Kotlin 2.4.x compiles with a JDK 27 toolchain as long as jvmTarget is at most 26. Temurin 27 has no macOS x64 build. project-starter's full CI passed on JDK 27.

🤖 Generated with Claude Code

Extend the shared usefulness build-JDK Renovate preset so the JDK that runs
and compiles the build follows the latest GA release in one grouped,
non-automerged PR. Bytecode targets are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Test1

 +--- org.jetbrains.kotlin:kotlin-stdlib:2.4.21
-|    \--- org.jetbrains:annotations:13.0 -> 23.0.0
+|    +--- org.jetbrains:annotations:13.0
+|    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.0 (c)
+|    +--- org.jetbrains.kotlin:kotlin-stdlib-common:2.4.21 (c)
+|    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.0 (c)
-\--- androidx.paging:paging-common-ktx:3.5.3
-     +--- androidx.paging:paging-common:3.5.3
-     |    \--- androidx.paging:paging-common-desktop:3.5.3
-     |         +--- androidx.annotation:annotation:1.9.1
-     |         |    \--- androidx.annotation:annotation-jvm:1.9.1
-     |         |         \--- org.jetbrains.kotlin:kotlin-stdlib:1.9.24 -> 2.4.21 (*)
-     |         +--- androidx.arch.core:core-common:2.2.0
-     |         |    \--- androidx.annotation:annotation:1.1.0 -> 1.9.1 (*)
-     |         +--- org.jetbrains.kotlin:kotlin-stdlib:2.1.20 -> 2.4.21 (*)
-     |         +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0
-     |         |    \--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.9.0
-     |         |         +--- org.jetbrains:annotations:23.0.0
-     |         |         +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.9.0
-     |         |         |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.9.0 (c)
-     |         |         |    \--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0 (c)
-     |         |         \--- org.jetbrains.kotlin:kotlin-stdlib:2.0.0 -> 2.4.21 (*)
-     |         \--- androidx.paging:paging-common-ktx:3.5.3 (c)
-     +--- org.jetbrains.kotlin:kotlin-stdlib:2.1.20 -> 2.4.21 (*)
-     \--- androidx.paging:paging-common:3.5.3 (c)
+\--- androidx.paging:paging-common-ktx:3.2.0
+     +--- androidx.paging:paging-common:3.2.0
+     |    +--- androidx.annotation:annotation:1.3.0
+     |    +--- androidx.arch.core:core-common:2.2.0
+     |    |    \--- androidx.annotation:annotation:1.1.0 -> 1.3.0
+     |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.21 -> 2.4.21 (*)
+     |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4
+     |    |    \--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.4
+     |    |         +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.4
+     |    |         |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.4 (c)
+     |    |         |    \--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4 (c)
+     |    |         +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.21 -> 1.8.0
+     |    |         |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.0 -> 2.4.21 (*)
+     |    |         |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.0
+     |    |         |         \--- org.jetbrains.kotlin:kotlin-stdlib:1.8.0 -> 2.4.21 (*)
+     |    |         \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.21 -> 2.4.21
+     |    |              \--- org.jetbrains.kotlin:kotlin-stdlib:2.4.21 (*)
+     |    \--- androidx.paging:paging-common-ktx:3.2.0 (c)
+     \--- androidx.paging:paging-common:3.2.0 (c)

output path: /home/runner/work/dependency-tree-diff-action/dependency-tree-diff-action/testproject/dependency-tree-diff_output.txt
base dependencies: /home/runner/work/dependency-tree-diff-action/dependency-tree-diff-action/testproject/dependency-tree-diff_dependencies-base.txt
head dependencies: /home/runner/work/dependency-tree-diff-action/dependency-tree-diff-action/testproject/dependency-tree-diff_dependencies-head.txt

@mateuszkwiecinski
mateuszkwiecinski marked this pull request as ready for review November 21, 2026 08:25
@github-actions

Copy link
Copy Markdown

Test2

 +--- org.jetbrains.kotlin:kotlin-stdlib:2.4.21
-|    \--- org.jetbrains:annotations:13.0 -> 23.0.0
+|    +--- org.jetbrains:annotations:13.0
+|    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.0 (c)
+|    +--- org.jetbrains.kotlin:kotlin-stdlib-common:2.4.21 (c)
+|    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.0 (c)
-\--- androidx.paging:paging-common-ktx:3.5.3
-     +--- androidx.paging:paging-common:3.5.3
-     |    \--- androidx.paging:paging-common-desktop:3.5.3
-     |         +--- androidx.annotation:annotation:1.9.1
-     |         |    \--- androidx.annotation:annotation-jvm:1.9.1
-     |         |         \--- org.jetbrains.kotlin:kotlin-stdlib:1.9.24 -> 2.4.21 (*)
-     |         +--- androidx.arch.core:core-common:2.2.0
-     |         |    \--- androidx.annotation:annotation:1.1.0 -> 1.9.1 (*)
-     |         +--- org.jetbrains.kotlin:kotlin-stdlib:2.1.20 -> 2.4.21 (*)
-     |         +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0
-     |         |    \--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.9.0
-     |         |         +--- org.jetbrains:annotations:23.0.0
-     |         |         +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.9.0
-     |         |         |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.9.0 (c)
-     |         |         |    \--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0 (c)
-     |         |         \--- org.jetbrains.kotlin:kotlin-stdlib:2.0.0 -> 2.4.21 (*)
-     |         \--- androidx.paging:paging-common-ktx:3.5.3 (c)
-     +--- org.jetbrains.kotlin:kotlin-stdlib:2.1.20 -> 2.4.21 (*)
-     \--- androidx.paging:paging-common:3.5.3 (c)
+\--- androidx.paging:paging-common-ktx:3.2.0
+     +--- androidx.paging:paging-common:3.2.0
+     |    +--- androidx.annotation:annotation:1.3.0
+     |    +--- androidx.arch.core:core-common:2.2.0
+     |    |    \--- androidx.annotation:annotation:1.1.0 -> 1.3.0
+     |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.21 -> 2.4.21 (*)
+     |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4
+     |    |    \--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.4
+     |    |         +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.4
+     |    |         |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.4 (c)
+     |    |         |    \--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4 (c)
+     |    |         +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.21 -> 1.8.0
+     |    |         |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.0 -> 2.4.21 (*)
+     |    |         |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.0
+     |    |         |         \--- org.jetbrains.kotlin:kotlin-stdlib:1.8.0 -> 2.4.21 (*)
+     |    |         \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.21 -> 2.4.21
+     |    |              \--- org.jetbrains.kotlin:kotlin-stdlib:2.4.21 (*)
+     |    \--- androidx.paging:paging-common-ktx:3.2.0 (c)
+     \--- androidx.paging:paging-common:3.2.0 (c)

@mateuszkwiecinski
mateuszkwiecinski merged commit 964e2c3 into master Nov 21, 2026
8 checks passed
@mateuszkwiecinski
mateuszkwiecinski deleted the claude/renovate-build-jdk branch November 21, 2026 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant