Rebuild with refreshed dependencies - #87
Conversation
Re-bump over the sanctioned collision case: a stale, never-published `compiler-jvm 2.0.0-SNAPSHOT.068` from an earlier local session sits in Maven Local and was being resolved into the tests build script classpath, mixing refresh-era Protobuf gencode with pre-refresh runtime pins. The registry-based increment guard cannot detect Maven Local staleness. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* Replace the retired `CoreJvmCompiler.pluginLib` accessor with its `gradlePlugin` successor (root and the `tests` build). * Pin the Protobuf runtime on the `tests` build script classpaths (the root one is inherited parent-first by every subproject build script): the refresh-era plugin jars carry Protobuf 4.36 gencode, and the runtime must not be older. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* Force the Kotlin stdlib/reflect at the toolchain version on the root build script: refresh-era plugin jars require Kotlin 2.4.10, above the Gradle-embedded 2.4.0 pinned strictly by the distributed helper. Bootstrap measure; the lasting policy (Gradle upgrade or plugin-stdlib rules) is a `config`-level decision. * Force the Protobuf runtime and the kotlinx pair in the `tests` build (build-script and subprojects scopes): floor artifacts request pre-refresh versions, and the runtime must never be older than the refreshed gencode. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
TEMPORARY consumer-copy edits of config-distributed pin files, required for the coherent-generation bootstrap: the pre-refresh floors embed or pull the old Protobuf runtime. To be superseded by the `config` pin bump once the generation publishes; the next `./config/pull` then restores distribution. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Owner's decision (2026-08-29): keep forcing the Kotlin runtime at the toolchain version (2.4.10) over the Gradle-embedded 2.4.0 strictly pin, org-wide. The central implementation lands in the distributed build logic; this local force is then superseded. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Restore the CoreJvm Compiler floor to its published version. That repository is built after this one, so its floor must name an artifact the registry already serves; only the closing `config` PR advances it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
- Force the Kotlin runtime through the typed accessors instead of raw coordinates, which also brings the two lines under the length limit. - Drop the forced `spine-validation-java-runtime` coordinate. It is the deprecated `Validation.oldRuntime`, hard-coded two builds below what that accessor declares, and nothing points at it -- which is why it was the only Spine coordinate in the list that did not move in this wave. - Add the `isDokka` guard to the new `configurations.all` block, as the rule on `Configuration.isDokka` requires. Verified with `dokkaGenerate`: this repository resolves Dokka separately, through the `afterEvaluate` `preferProjectModules()` block, so excluding `dokka*` here is safe. - Force the Kotlin runtime in the nested `tests` buildscript as well. It loads the Kotlin Gradle plugin against the version Gradle embeds and pins strictly, and inherits nothing from the root. - Drop redundant qualifiers where file-level imports do apply, sort two imports, and correct two comments that described neither the entries below them nor the classpath they sit on. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Name the constant the force uses rather than calling it a "toolchain" version, which in Gradle means the JDK toolchain. Attribute the strict 2.4.0 pin to Gradle, which sets it, rather than to the distributed helper, which only works around it. Turn the removal plan into a dated TODO, the convention the sibling scripts use, so it is actually tracked. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
Pull request overview
Automated cascade rebuild PR that refreshes pinned dependency versions, updates compiler/test buildscript classpaths to align with refreshed plugin artifacts, and regenerates dependency reports.
Changes:
- Bumped the project/compiler version to
2.0.0-SNAPSHOT.069and refreshed pinned dependency versions across the build. - Updated CoreJvm compiler plugin classpath usage to the dedicated
core-jvm-gradle-pluginartifact and added/centralized several buildscriptresolutionStrategy.force(...)pins (notably Protobuf and Kotlin runtime artifacts). - Regenerated
docs/dependencies/pom.xmlto reflect the refreshed dependency baseline.
Reviewed changes
Copilot reviewed 43 out of 46 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| version.gradle.kts | Bumps the exported compilerVersion used across builds/tests. |
| tests/compiler-extension/build.gradle.kts | Pins Protobuf runtime for buildscript classpath and switches CoreJvm classpath to the Gradle-plugin artifact. |
| tests/build.gradle.kts | Centralizes forcing of baseline Protobuf/Kotlin runtime in buildscript and forces select runtime deps in subprojects (skipping Dokka configs). |
| docs/dependencies/pom.xml | Regenerated dependency report reflecting refreshed versions and added the CoreJvm Gradle plugin artifact. |
| buildSrc/src/main/kotlin/io/spine/dependency/test/Kotest.kt | Updates Kotest version constant. |
| buildSrc/src/main/kotlin/io/spine/dependency/test/JUnit.kt | Updates JUnit/JUnit Platform BOM versions. |
| buildSrc/src/main/kotlin/io/spine/dependency/storage/PostgreSql.kt | Updates PostgreSQL JDBC driver version constant. |
| buildSrc/src/main/kotlin/io/spine/dependency/storage/MySql.kt | Updates MySQL Connector/J version constant. |
| buildSrc/src/main/kotlin/io/spine/dependency/local/Validation.kt | Updates Spine Validation version constant. |
| buildSrc/src/main/kotlin/io/spine/dependency/local/ToolBase.kt | Updates ToolBase versions (including dogfooding). |
| buildSrc/src/main/kotlin/io/spine/dependency/local/Time.kt | Updates Spine Time version constant. |
| buildSrc/src/main/kotlin/io/spine/dependency/local/ProtoTap.kt | Updates ProtoTap version constant. |
| buildSrc/src/main/kotlin/io/spine/dependency/local/Logging.kt | Updates Spine Logging version constant. |
| buildSrc/src/main/kotlin/io/spine/dependency/local/CoreJvmCompiler.kt | Refactors CoreJvm compiler coordinates to separate Gradle plugin vs compiler plugins artifacts and updates versions. |
| buildSrc/src/main/kotlin/io/spine/dependency/local/CoreJvm.kt | Updates Spine Core JVM version constant. |
| buildSrc/src/main/kotlin/io/spine/dependency/local/Compiler.kt | Updates fallback compiler versions used by build tooling. |
| buildSrc/src/main/kotlin/io/spine/dependency/local/Base.kt | Updates Spine Base version constants (including a distinct buildscript version). |
| buildSrc/src/main/kotlin/io/spine/dependency/lib/Roaster.kt | Updates Roaster version constant. |
| buildSrc/src/main/kotlin/io/spine/dependency/lib/Protobuf.kt | Updates Protobuf baseline version constant. |
| buildSrc/src/main/kotlin/io/spine/dependency/lib/Plexus.kt | Updates Plexus Utils version constant and adjusts comment. |
| buildSrc/src/main/kotlin/io/spine/dependency/lib/Okio.kt | Updates Okio version constant. |
| buildSrc/src/main/kotlin/io/spine/dependency/lib/Netty.kt | Updates Netty version constant. |
| buildSrc/src/main/kotlin/io/spine/dependency/lib/Kotlin.kt | Updates Kotlin runtime/embedded versions and clarifies KDoc around Gradle-embedded vs embeddable compiler. |
| buildSrc/src/main/kotlin/io/spine/dependency/lib/JacksonV2.kt | Updates Jackson v2 version and expands declared modules (adds kotlin module + Jackson Jr dependency object). |
| buildSrc/src/main/kotlin/io/spine/dependency/lib/Jackson.kt | Updates Jackson 3.x version constant. |
| buildSrc/src/main/kotlin/io/spine/dependency/lib/HttpClient.kt | Updates Google HTTP Client version constant. |
| buildSrc/src/main/kotlin/io/spine/dependency/lib/Guava.kt | Updates Guava version constant. |
| buildSrc/src/main/kotlin/io/spine/dependency/lib/Grpc.kt | Updates gRPC BOM/version constant. |
| buildSrc/src/main/kotlin/io/spine/dependency/lib/GoogleApis.kt | Updates Google Auth library version constant. |
| buildSrc/src/main/kotlin/io/spine/dependency/lib/Firebase.kt | Updates Firebase Admin SDK version constant. |
| buildSrc/src/main/kotlin/io/spine/dependency/lib/CommonsLogging.kt | Updates Commons Logging version constant. |
| buildSrc/src/main/kotlin/io/spine/dependency/lib/CommonsCodec.kt | Updates Commons Codec version constant. |
| buildSrc/src/main/kotlin/io/spine/dependency/lib/AppEngine.kt | Removes AppEngine dependency definitions (no remaining references found). |
| buildSrc/src/main/kotlin/io/spine/dependency/kotlinx/Serialization.kt | Updates kotlinx.serialization version constant. |
| buildSrc/src/main/kotlin/io/spine/dependency/kotlinx/Coroutines.kt | Updates kotlinx.coroutines BOM/version constant. |
| buildSrc/src/main/kotlin/io/spine/dependency/kotlinx/AtomicFu.kt | Updates atomicfu version constant. |
| buildSrc/src/main/kotlin/io/spine/dependency/build/Pmd.kt | Updates PMD version constant. |
| buildSrc/src/main/kotlin/io/spine/dependency/build/Ksp.kt | Updates KSP version constant. |
| buildSrc/src/main/kotlin/io/spine/dependency/build/JSpecify.kt | Updates JSpecify version constant (and copyright year). |
| buildSrc/src/main/kotlin/io/spine/dependency/build/ErrorProne.kt | Updates Error Prone Gradle plugin version constant. |
| buildSrc/src/main/kotlin/io/spine/dependency/build/CheckerFramework.kt | Updates Checker Framework annotations version constant. |
| buildSrc/build.gradle.kts | Refreshes buildSrc tool/plugin versions (Kotlin embedded, grgit, shadow, zip4j, etc.). |
| build.gradle.kts | Switches CoreJvm classpath artifact and forces Kotlin runtime artifacts in the buildscript classpath. |
| .gitignore | Adds clarification comment around keeping .idea/kotlinc.xml ignored. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
A build script is not where a cross-repository policy belongs, and the TODO it carried was unlikely to be picked up from here. The forces themselves are unchanged. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #87 +/- ##
============================================
- Coverage 76.89% 72.69% -4.20%
+ Complexity 688 670 -18
============================================
Files 205 205
Lines 4025 4025
Branches 402 402
============================================
- Hits 3095 2926 -169
- Misses 800 977 +177
+ Partials 130 122 -8 🚀 New features to boost your workflow:
|
Summary
Automated cascade wave: rebuild against the refreshed dependency baseline.
Part of a cross-repository wave driven from
summit(seesummit/docs/rollout/rebuild.md); this PR opened only after every dependencyversion pinned here was verified present in the public registry.
Commits
./config/pull) — floated sharedtooling and the config-distributed build files (absent when config was
already current).
io.spine.dependency.localconstantsadvanced to the wave's upstream versions (may appear twice after a drift
refresh).
wave's coordinated target.
docs/dependencies/regenerated by the cleanbuild.
mechanical source fixes; review this commit with extra care.
Verification
./gradlew clean build dokkaGenerategreen locally against the wave'sartifacts (mavenLocal until upstream publication, the registry afterwards).
pre-prreviewers ran at the exact HEAD of this PR (sentinel-gated).europe-maven.pkg.dev/spine-event-enginemetadata beforegh pr create.