Skip to content

Upgrade to Gradle 9.5.0; bump deps; tidy build configuration#2

Merged
pambrose merged 2 commits into
masterfrom
chore/gradle-9.5-and-build-cleanup
May 10, 2026
Merged

Upgrade to Gradle 9.5.0; bump deps; tidy build configuration#2
pambrose merged 2 commits into
masterfrom
chore/gradle-9.5-and-build-cleanup

Conversation

@pambrose
Copy link
Copy Markdown
Member

Summary

Build infrastructure cleanup, driven by the version-catalog parsing the Makefile now relies on (PR #1).

Versions

  • Gradle wrapper 9.4.1 → 9.5.0
  • Kotlin 2.3.20 → 2.3.21
  • Ktor 3.4.2 → 3.4.3
  • ben-manes versions plugin 0.53.0 → 0.54.0
  • Add gradle and jvm keys to gradle/libs.versions.toml so the Makefile and build.gradle.kts both read them as a single source of truth.

build.gradle.kts

  • Move group and version to gradle.properties.
  • Replace magic strings with named vals (mainClassName, fatJarName, jvmVersion, buildFatJarTask, cleanTask, stageTask, preReleaseSuffixes).
  • Pull JVM toolchain version from libs.versions.jvm instead of hardcoding 21.
  • Drop the project-level repositories { mavenCentral() } block; it now lives centrally in settings.gradle.kts.

settings.gradle.kts

  • Add pluginManagement (gradlePluginPortal + mavenCentral).
  • Centralize project repositories under dependencyResolutionManagement with RepositoriesMode.FAIL_ON_PROJECT_REPOS so subprojects can't silently introduce their own repos.

gradle.properties

  • Restore group / version (now the canonical home).
  • Enable org.gradle.configuration-cache=true.
  • Set org.gradle.jvmargs for larger heap, metaspace, and stack so Kotlin compilation stops OOMing in CI/Docker builds.

.gitignore

  • Add .DS_Store.

Test plan

  • ./gradlew build -x test succeeds locally with the new Gradle 9.5.0 wrapper.
  • make build and make jar succeed.
  • make upgrade-wrapper is a no-op (wrapper already at the pinned version).
  • Heroku stage task still produces the fat JAR.
  • Docker image (make build-docker) still builds and runs.

🤖 Generated with Claude Code

pambrose and others added 2 commits May 10, 2026 13:10
Build infrastructure cleanup driven by the new version-catalog parsing in
the Makefile.

Versions
- Gradle wrapper 9.4.1 -> 9.5.0
- Kotlin 2.3.20 -> 2.3.21
- Ktor 3.4.2 -> 3.4.3
- ben-manes versions plugin 0.53.0 -> 0.54.0
- Add `gradle` and `jvm` keys to libs.versions.toml so Makefile and
  build.gradle.kts can both read them as a single source of truth.

build.gradle.kts
- Move `group` and `version` to gradle.properties.
- Replace magic strings with named vals (`mainClassName`, `fatJarName`,
  `jvmVersion`, `buildFatJarTask`, `cleanTask`, `stageTask`,
  `preReleaseSuffixes`).
- Pull JVM toolchain version from `libs.versions.jvm` instead of a
  hardcoded `21`.
- Drop the project-level `repositories { mavenCentral() }` block; it now
  lives centrally in settings.gradle.kts.

settings.gradle.kts
- Add `pluginManagement` (gradlePluginPortal + mavenCentral).
- Centralize project repositories under `dependencyResolutionManagement`
  with `RepositoriesMode.FAIL_ON_PROJECT_REPOS` so subprojects can't
  silently introduce their own repos.

gradle.properties
- Restore `group`/`version` (now the canonical home).
- Enable `org.gradle.configuration-cache=true`.
- Set `org.gradle.jvmargs` for larger heap, metaspace, and stack so
  Kotlin compilation stops OOMing in CI/Docker builds.

.gitignore
- Add `.DS_Store`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Runs ./gradlew build -x test on every push to master and on every PR
targeting master. JDK 21 (temurin), Gradle wrapper validated and cached
via gradle/actions/setup-gradle.

Concurrency-cancels superseded PR runs but lets master pushes finish.
Read-only token permissions.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@pambrose pambrose merged commit 8f7e3f7 into master May 10, 2026
1 check passed
@pambrose pambrose deleted the chore/gradle-9.5-and-build-cleanup branch May 10, 2026 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant