Skip to content

Comments

Adopt latest RootPlugin#265

Merged
alexander-yevsyukov merged 35 commits intomasterfrom
docs-set-2
Feb 23, 2026
Merged

Adopt latest RootPlugin#265
alexander-yevsyukov merged 35 commits intomasterfrom
docs-set-2

Conversation

@alexander-yevsyukov
Copy link
Collaborator

@alexander-yevsyukov alexander-yevsyukov commented Feb 23, 2026

This PR updates dependencies on ToolBase and Compiler so that Validation Gradle plugin can add Spine-specific directories via the latest version of RootPlugin.

Documentation changes

  • The docs project migrated to hello-validation repository added as a submodule under docs/_examples directory.
  • Files in the _script and _settings directories were updated accordingly.
  • adding-to-build.md was extended with wording on adding custom plugin repositories.
  • adding-to-build.md now has the note on the module script plugin and the link to hello-validation repository.

Copilot AI review requested due to automatic review settings February 23, 2026 16:26
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the project to newer Spine toolchain versions and migrates documentation examples to a dedicated _examples submodule, with a small refactor in the Gradle plugin setup.

Changes:

  • Bumped Validation/toolchain versions across Gradle, Maven, and buildSrc dependency constants.
  • Refactored ValidationGradlePlugin to extract Validation configuration into a helper.
  • Migrated docs example sources from docs/_code to a git submodule at docs/_examples and updated embed-code tooling/docs accordingly.

Reviewed changes

Copilot reviewed 31 out of 31 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
version.gradle.kts Bumps the project’s Validation version used by Gradle builds.
pom.xml Updates Maven artifact and related dependency versions.
gradle-plugin/src/main/kotlin/io/spine/tools/validation/gradle/ValidationGradlePlugin.kt Refactors plugin application/configuration flow.
docs/content/docs/validation/01-getting-started/first-model.md Updates getting-started content to reference shared build instructions and refreshed test snippets.
docs/content/docs/validation/01-getting-started/adding-to-build.md Expands build setup docs and updates plugin versions/snippets.
docs/content/docs/validation/01-getting-started/_index.md Adjusts navigation/capitalization in the getting-started index.
docs/build.gradle.kts Points doc automation at _examples and consolidates example build task(s).
docs/_settings/embed-code.yml Switches embed-code source root from _code to _examples.
docs/_script/embed-code Updates script comment to reflect _examples submodule usage.
docs/_examples Adds the examples git submodule pointer.
docs/_code/first-model/src/test/kotlin/io/spine/validation/docs/firstmodel/BankCardKtTest.kt Removed (migrated to _examples submodule).
docs/_code/first-model/src/test/java/io/spine/validation/docs/firstmodel/BankCardTest.java Removed (migrated to _examples submodule).
docs/_code/first-model/src/main/proto/spine/validation/docs/first_model/bank_card.proto Removed (migrated to _examples submodule).
docs/_code/first-model/settings.gradle.kts Removed (migrated to _examples submodule).
docs/_code/first-model/gradlew.bat Removed (migrated to _examples submodule).
docs/_code/first-model/gradlew Removed (migrated to _examples submodule).
docs/_code/first-model/gradle.properties Removed (migrated to _examples submodule).
docs/_code/first-model/build.gradle.kts Removed (migrated to _examples submodule).
docs/_code/first-model-with-framework/src Removed (migrated to _examples submodule).
docs/_code/first-model-with-framework/settings.gradle.kts Removed (migrated to _examples submodule).
docs/_code/first-model-with-framework/gradlew.bat Removed (migrated to _examples submodule).
docs/_code/first-model-with-framework/gradlew Removed (migrated to _examples submodule).
docs/_code/first-model-with-framework/gradle.properties Removed (migrated to _examples submodule).
docs/_code/first-model-with-framework/build.gradle.kts Removed (migrated to _examples submodule).
docs/_code/code-common.gradle.kts Removed (migrated to _examples submodule).
dependencies.md Regenerates the dependency/license report for the new version set.
buildSrc/src/main/kotlin/io/spine/dependency/local/Validation.kt Updates referenced Validation runtime/library version.
buildSrc/src/main/kotlin/io/spine/dependency/local/ToolBase.kt Updates ToolBase version constants.
buildSrc/src/main/kotlin/io/spine/dependency/local/CoreJvmCompiler.kt Updates CoreJvmCompiler version constants.
buildSrc/src/main/kotlin/io/spine/dependency/local/Compiler.kt Updates Compiler fallback version constants.
.gitmodules Adds the docs/_examples submodule configuration.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7fe07f06c4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copilot AI review requested due to automatic review settings February 23, 2026 17:13
Copy link
Contributor

Copilot AI left a comment

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 31 out of 31 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@alexander-yevsyukov alexander-yevsyukov merged commit 84ce8b9 into master Feb 23, 2026
11 of 12 checks passed
@alexander-yevsyukov alexander-yevsyukov deleted the docs-set-2 branch February 23, 2026 17:23
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.

2 participants