Update config, address Gradle deprecations#198
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates this repository to the latest shared config state, bumping the published snapshot version and refreshing generated dependency-report artifacts and build tooling used for publishing/reporting.
Changes:
- Bump
versionToPublishfrom2.0.0-SNAPSHOT.243to2.0.0-SNAPSHOT.244and switch the declaration toextra.set(...). - Refresh generated dependency documentation (
docs/dependencies/*) to the new version and updated resolved dependency set. - Sync
buildSrcbuild tooling and tests with the updated config (dependency reporting/version parsing/temp-dir utilities, and removal of deprecated JaCoCo script plugins).
Reviewed changes
Copilot reviewed 20 out of 20 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| version.gradle.kts | Bumps the publishing version and switches to extra.set(...) declaration. |
| docs/dependencies/pom.xml | Updates generated dependency POM versions (project + selected dependencies). |
| docs/dependencies/dependencies.md | Updates generated dependency/license report for the new snapshot. |
| buildSrc/src/test/kotlin/io/spine/gradle/VersionGradleFileSpec.kt | Adds tests covering extra.set(...) parsing for version.gradle.kts. |
| buildSrc/src/test/kotlin/io/spine/gradle/report/pom/DependencyWriterSpec.kt | Adds tests ensuring dependency reporting uses resolved (selected) versions. |
| buildSrc/src/test/kotlin/io/spine/gradle/fs/SpineTempDirSpec.kt | Adds tests for the new per-JVM temp directory behavior. |
| buildSrc/src/test/kotlin/io/spine/gradle/fs/LazyTempPathSpec.kt | Adds tests for lazy temp path creation/location conventions. |
| buildSrc/src/main/kotlin/write-manifest.gradle.kts | Adjusts task registration style for manifest exposure task. |
| buildSrc/src/main/kotlin/uber-jar-module.gradle.kts | Adjusts task lookup/configuration for the Maven Local publish dependency. |
| buildSrc/src/main/kotlin/kmp-module.gradle.kts | Tweaks KMP test source set/task configuration (incl. JUnit Platform + logging). |
| buildSrc/src/main/kotlin/jvm-module.gradle.kts | Adjusts task registration style for generated-sources cleanup. |
| buildSrc/src/main/kotlin/jacoco-kotlin-jvm.gradle.kts | Removes deprecated JaCoCo script plugin. |
| buildSrc/src/main/kotlin/jacoco-kmm-jvm.gradle.kts | Removes deprecated JaCoCo script plugin for KMM. |
| buildSrc/src/main/kotlin/io/spine/gradle/VersionGradleFile.kt | Updates version file parsing to support extra.set(...) in addition to legacy by extra(...). |
| buildSrc/src/main/kotlin/io/spine/gradle/report/pom/ProjectMetadata.kt | Simplifies property delegation implementation for non-empty metadata fields. |
| buildSrc/src/main/kotlin/io/spine/gradle/report/pom/DependencyWriter.kt | Updates dependency reporting to use resolved dependency versions (classpath-selected). |
| buildSrc/src/main/kotlin/io/spine/gradle/fs/SpineTempDir.kt | Introduces per-JVM temp directory root with shutdown cleanup. |
| buildSrc/src/main/kotlin/io/spine/gradle/fs/LazyTempPath.kt | Routes temp directory creation through the shared per-JVM temp directory. |
| buildSrc/src/main/kotlin/io/spine/dependency/local/Compiler.kt | Bumps compiler fallback versions to 2.0.0-SNAPSHOT.059. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #198 +/- ##
=========================================
Coverage 84.40% 84.40%
Complexity 306 306
=========================================
Files 60 60
Lines 1103 1103
Branches 46 46
=========================================
Hits 931 931
Misses 163 163
Partials 9 9 🚀 New features to boost your workflow:
|
Replace the `by registering`/`by existing`/`by getting`/`by extra` property-delegate forms flagged by the Gradle 9.6 upgrading guide with the recommended eager/lazy container APIs (`register`, `named`, `getByName`, `extra[...]`), keeping the build compatible with Gradle 10.
configconfig, address Gradle deprecations
armiol
approved these changes
Jul 3, 2026
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.
This PR updates
configand addresses deprecations recently introduced by Gradle.