Skip to content

Update config, address Gradle deprecations#198

Merged
alexander-yevsyukov merged 4 commits into
masterfrom
bump-version-244
Jul 3, 2026
Merged

Update config, address Gradle deprecations#198
alexander-yevsyukov merged 4 commits into
masterfrom
bump-version-244

Conversation

@alexander-yevsyukov

@alexander-yevsyukov alexander-yevsyukov commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

This PR updates config and addresses deprecations recently introduced by Gradle.

Copilot AI review requested due to automatic review settings July 2, 2026 19:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 versionToPublish from 2.0.0-SNAPSHOT.243 to 2.0.0-SNAPSHOT.244 and switch the declaration to extra.set(...).
  • Refresh generated dependency documentation (docs/dependencies/*) to the new version and updated resolved dependency set.
  • Sync buildSrc build 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.

@alexander-yevsyukov alexander-yevsyukov moved this to 🏗 In progress in v2.0 Jul 2, 2026
@alexander-yevsyukov alexander-yevsyukov self-assigned this Jul 2, 2026
@alexander-yevsyukov alexander-yevsyukov marked this pull request as draft July 2, 2026 19:18
@codecov

codecov Bot commented Jul 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.40%. Comparing base (8d82c81) to head (a31326b).

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:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.
@alexander-yevsyukov alexander-yevsyukov changed the title Update config Update config, address Gradle deprecations Jul 2, 2026
@alexander-yevsyukov alexander-yevsyukov marked this pull request as ready for review July 2, 2026 19:35
@alexander-yevsyukov alexander-yevsyukov moved this from 🏗 In progress to In Review in v2.0 Jul 2, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 22 out of 23 changed files in this pull request and generated no new comments.

@alexander-yevsyukov alexander-yevsyukov merged commit 57d3dd9 into master Jul 3, 2026
12 checks passed
@alexander-yevsyukov alexander-yevsyukov deleted the bump-version-244 branch July 3, 2026 10:02
@github-project-automation github-project-automation Bot moved this from In Review to ✅ Done in v2.0 Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants