From 14579c18b674119b655ae57d7bf58b3a9635b160 Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Mon, 23 Feb 2026 18:37:56 +0000 Subject: [PATCH 1/8] Bump version -> `2.0.0-SNAPSHOT.396` --- version.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.gradle.kts b/version.gradle.kts index 5254c065e..4b668a79c 100644 --- a/version.gradle.kts +++ b/version.gradle.kts @@ -29,4 +29,4 @@ * * For Spine-based dependencies please see [io.spine.dependency.local.Spine]. */ -val validationVersion by extra("2.0.0-SNAPSHOT.395") +val validationVersion by extra("2.0.0-SNAPSHOT.396") From 2e8036966d89c82a2783eddeddb310eca6a6488f Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Mon, 23 Feb 2026 18:38:06 +0000 Subject: [PATCH 2/8] Update local dependencies --- .../main/kotlin/io/spine/dependency/local/CoreJvmCompiler.kt | 4 ++-- .../src/main/kotlin/io/spine/dependency/local/ToolBase.kt | 4 ++-- .../src/main/kotlin/io/spine/dependency/local/Validation.kt | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/buildSrc/src/main/kotlin/io/spine/dependency/local/CoreJvmCompiler.kt b/buildSrc/src/main/kotlin/io/spine/dependency/local/CoreJvmCompiler.kt index 0944be06e..fb5761458 100644 --- a/buildSrc/src/main/kotlin/io/spine/dependency/local/CoreJvmCompiler.kt +++ b/buildSrc/src/main/kotlin/io/spine/dependency/local/CoreJvmCompiler.kt @@ -46,12 +46,12 @@ object CoreJvmCompiler { /** * The version used to in the build classpath. */ - const val dogfoodingVersion = "2.0.0-SNAPSHOT.053" + const val dogfoodingVersion = "2.0.0-SNAPSHOT.054" /** * The version to be used for integration tests. */ - const val version = "2.0.0-SNAPSHOT.053" + const val version = "2.0.0-SNAPSHOT.054" /** * The ID of the Gradle plugin. diff --git a/buildSrc/src/main/kotlin/io/spine/dependency/local/ToolBase.kt b/buildSrc/src/main/kotlin/io/spine/dependency/local/ToolBase.kt index be8a3b7fa..5e443139b 100644 --- a/buildSrc/src/main/kotlin/io/spine/dependency/local/ToolBase.kt +++ b/buildSrc/src/main/kotlin/io/spine/dependency/local/ToolBase.kt @@ -34,8 +34,8 @@ package io.spine.dependency.local @Suppress("ConstPropertyName", "unused") object ToolBase { const val group = Spine.toolsGroup - const val version = "2.0.0-SNAPSHOT.372" - const val dogfoodingVersion = "2.0.0-SNAPSHOT.372" + const val version = "2.0.0-SNAPSHOT.373" + const val dogfoodingVersion = "2.0.0-SNAPSHOT.373" const val lib = "$group:tool-base:$version" const val classicCodegen = "$group:classic-codegen:$version" diff --git a/buildSrc/src/main/kotlin/io/spine/dependency/local/Validation.kt b/buildSrc/src/main/kotlin/io/spine/dependency/local/Validation.kt index a76093c13..5743f9fcf 100644 --- a/buildSrc/src/main/kotlin/io/spine/dependency/local/Validation.kt +++ b/buildSrc/src/main/kotlin/io/spine/dependency/local/Validation.kt @@ -36,7 +36,7 @@ object Validation { /** * The version of the Validation library artifacts. */ - const val version = "2.0.0-SNAPSHOT.394" + const val version = "2.0.0-SNAPSHOT.395" /** * The last version of Validation compatible with ProtoData. From ea61cb15ef672c3e3c9b3c872b0d8632390ac617 Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Mon, 23 Feb 2026 18:38:14 +0000 Subject: [PATCH 3/8] Update dependency reports --- dependencies.md | 64 ++++++++++++++++++++++++------------------------- pom.xml | 12 +++++----- 2 files changed, 38 insertions(+), 38 deletions(-) diff --git a/dependencies.md b/dependencies.md index 0da6c75ab..44f3957cd 100644 --- a/dependencies.md +++ b/dependencies.md @@ -1,6 +1,6 @@ -# Dependencies of `io.spine.tools:validation-context:2.0.0-SNAPSHOT.395` +# Dependencies of `io.spine.tools:validation-context:2.0.0-SNAPSHOT.396` ## Runtime 1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0. @@ -1139,14 +1139,14 @@ The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Feb 23 16:36:39 WET 2026** using +This report was generated on **Mon Feb 23 18:35:35 WET 2026** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.tools:validation-context-tests:2.0.0-SNAPSHOT.395` +# Dependencies of `io.spine.tools:validation-context-tests:2.0.0-SNAPSHOT.396` ## Runtime 1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0. @@ -1731,28 +1731,28 @@ This report was generated on **Mon Feb 23 16:36:39 WET 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Feb 23 16:36:38 WET 2026** using +This report was generated on **Mon Feb 23 18:35:34 WET 2026** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.tools:validation-docs:2.0.0-SNAPSHOT.395` +# Dependencies of `io.spine.tools:validation-docs:2.0.0-SNAPSHOT.396` ## Runtime ## Compile, tests, and tooling The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Feb 23 16:15:05 WET 2026** using +This report was generated on **Mon Feb 23 18:35:33 WET 2026** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.tools:validation-gradle-plugin:2.0.0-SNAPSHOT.395` +# Dependencies of `io.spine.tools:validation-gradle-plugin:2.0.0-SNAPSHOT.396` ## Runtime 1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0. @@ -2841,14 +2841,14 @@ This report was generated on **Mon Feb 23 16:15:05 WET 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Feb 23 16:36:38 WET 2026** using +This report was generated on **Mon Feb 23 18:35:34 WET 2026** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.tools:validation-java:2.0.0-SNAPSHOT.395` +# Dependencies of `io.spine.tools:validation-java:2.0.0-SNAPSHOT.396` ## Runtime 1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0. @@ -3935,14 +3935,14 @@ This report was generated on **Mon Feb 23 16:36:38 WET 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Feb 23 16:36:38 WET 2026** using +This report was generated on **Mon Feb 23 18:35:34 WET 2026** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.tools:validation-java-bundle:2.0.0-SNAPSHOT.395` +# Dependencies of `io.spine.tools:validation-java-bundle:2.0.0-SNAPSHOT.396` ## Runtime 1. **Group** : com.google.auto.service. **Name** : auto-service-annotations. **Version** : 1.1.1. @@ -4005,14 +4005,14 @@ This report was generated on **Mon Feb 23 16:36:38 WET 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Feb 23 16:36:37 WET 2026** using +This report was generated on **Mon Feb 23 18:35:34 WET 2026** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine:validation-jvm-runtime:2.0.0-SNAPSHOT.395` +# Dependencies of `io.spine:validation-jvm-runtime:2.0.0-SNAPSHOT.396` ## Runtime 1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2. @@ -4845,14 +4845,14 @@ This report was generated on **Mon Feb 23 16:36:37 WET 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Feb 23 16:36:38 WET 2026** using +This report was generated on **Mon Feb 23 18:35:34 WET 2026** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.tools:validation-ksp:2.0.0-SNAPSHOT.395` +# Dependencies of `io.spine.tools:validation-ksp:2.0.0-SNAPSHOT.396` ## Runtime 1. **Group** : com.google.auto.service. **Name** : auto-service-annotations. **Version** : 1.1.1. @@ -5781,14 +5781,14 @@ This report was generated on **Mon Feb 23 16:36:38 WET 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Feb 23 16:36:38 WET 2026** using +This report was generated on **Mon Feb 23 18:35:34 WET 2026** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.tools:validation-consumer:2.0.0-SNAPSHOT.395` +# Dependencies of `io.spine.tools:validation-consumer:2.0.0-SNAPSHOT.396` ## Runtime 1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0. @@ -6379,14 +6379,14 @@ This report was generated on **Mon Feb 23 16:36:38 WET 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Feb 23 16:36:38 WET 2026** using +This report was generated on **Mon Feb 23 18:35:34 WET 2026** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.tools:validation-consumer-dependency:2.0.0-SNAPSHOT.395` +# Dependencies of `io.spine.tools:validation-consumer-dependency:2.0.0-SNAPSHOT.396` ## Runtime 1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2. @@ -6897,14 +6897,14 @@ This report was generated on **Mon Feb 23 16:36:38 WET 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Feb 23 16:36:38 WET 2026** using +This report was generated on **Mon Feb 23 18:35:34 WET 2026** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.tools:validation-extensions:2.0.0-SNAPSHOT.395` +# Dependencies of `io.spine.tools:validation-extensions:2.0.0-SNAPSHOT.396` ## Runtime 1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0. @@ -7588,14 +7588,14 @@ This report was generated on **Mon Feb 23 16:36:38 WET 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Feb 23 16:36:38 WET 2026** using +This report was generated on **Mon Feb 23 18:35:35 WET 2026** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.tools:validation-runtime:2.0.0-SNAPSHOT.395` +# Dependencies of `io.spine.tools:validation-runtime:2.0.0-SNAPSHOT.396` ## Runtime 1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2. @@ -8217,14 +8217,14 @@ This report was generated on **Mon Feb 23 16:36:38 WET 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Feb 23 16:36:38 WET 2026** using +This report was generated on **Mon Feb 23 18:35:35 WET 2026** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.tools:validation-validating:2.0.0-SNAPSHOT.395` +# Dependencies of `io.spine.tools:validation-validating:2.0.0-SNAPSHOT.396` ## Runtime 1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2. @@ -8889,14 +8889,14 @@ This report was generated on **Mon Feb 23 16:36:38 WET 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Feb 23 16:36:38 WET 2026** using +This report was generated on **Mon Feb 23 18:35:35 WET 2026** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.tools:validation-validator:2.0.0-SNAPSHOT.395` +# Dependencies of `io.spine.tools:validation-validator:2.0.0-SNAPSHOT.396` ## Runtime 1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0. @@ -9647,14 +9647,14 @@ This report was generated on **Mon Feb 23 16:36:38 WET 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Feb 23 16:36:38 WET 2026** using +This report was generated on **Mon Feb 23 18:35:34 WET 2026** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.tools:validation-validator-dependency:2.0.0-SNAPSHOT.395` +# Dependencies of `io.spine.tools:validation-validator-dependency:2.0.0-SNAPSHOT.396` ## Runtime 1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2. @@ -9924,14 +9924,14 @@ This report was generated on **Mon Feb 23 16:36:38 WET 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Feb 23 16:36:38 WET 2026** using +This report was generated on **Mon Feb 23 18:35:34 WET 2026** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.tools:validation-vanilla:2.0.0-SNAPSHOT.395` +# Dependencies of `io.spine.tools:validation-vanilla:2.0.0-SNAPSHOT.396` ## Runtime 1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2. @@ -10282,6 +10282,6 @@ This report was generated on **Mon Feb 23 16:36:38 WET 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Feb 23 16:36:38 WET 2026** using +This report was generated on **Mon Feb 23 18:35:34 WET 2026** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). \ No newline at end of file diff --git a/pom.xml b/pom.xml index 2ae9cabf3..e9fa29fdd 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ all modules and does not describe the project structure per-subproject. --> io.spine.tools validation -2.0.0-SNAPSHOT.395 +2.0.0-SNAPSHOT.396 2015 @@ -68,7 +68,7 @@ all modules and does not describe the project structure per-subproject. io.spine spine-validation-jvm-runtime - 2.0.0-SNAPSHOT.394 + 2.0.0-SNAPSHOT.395 compile @@ -98,7 +98,7 @@ all modules and does not describe the project structure per-subproject. io.spine.tools jvm-tools - 2.0.0-SNAPSHOT.372 + 2.0.0-SNAPSHOT.373 compile @@ -287,12 +287,12 @@ all modules and does not describe the project structure per-subproject. io.spine.tools core-jvm-gradle-plugins - 2.0.0-SNAPSHOT.053 + 2.0.0-SNAPSHOT.054 io.spine.tools core-jvm-routing - 2.0.0-SNAPSHOT.053 + 2.0.0-SNAPSHOT.054 io.spine.tools @@ -307,7 +307,7 @@ all modules and does not describe the project structure per-subproject. io.spine.tools validation-java-bundle - 2.0.0-SNAPSHOT.394 + 2.0.0-SNAPSHOT.395 net.sourceforge.pmd From 27a12f791e9f6b6775152a6718d4b9a05a99bcf8 Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Mon, 23 Feb 2026 18:44:39 +0000 Subject: [PATCH 4/8] Update examples ref. --- docs/_examples | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_examples b/docs/_examples index 8c32da4ed..3e415ccbc 160000 --- a/docs/_examples +++ b/docs/_examples @@ -1 +1 @@ -Subproject commit 8c32da4ed2c1ea4a04e391f3517ccb6625a51fa9 +Subproject commit 3e415ccbc0c7ea6a873b6fa906bf84d914190981 From 0272c21ade418107aee7d7a86df47a040620882f Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Mon, 23 Feb 2026 18:45:06 +0000 Subject: [PATCH 5/8] Update versions of Gradle plugins --- .../docs/validation/01-getting-started/adding-to-build.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/docs/validation/01-getting-started/adding-to-build.md b/docs/content/docs/validation/01-getting-started/adding-to-build.md index fa17d4d62..0347d3b11 100644 --- a/docs/content/docs/validation/01-getting-started/adding-to-build.md +++ b/docs/content/docs/validation/01-getting-started/adding-to-build.md @@ -36,7 +36,7 @@ Add the Validation plugin to the build. ```kotlin plugins { module - id("io.spine.validation") version "2.0.0-SNAPSHOT.395" + id("io.spine.validation") version "2.0.0-SNAPSHOT.396" } ``` @@ -59,7 +59,7 @@ adding Validation directly. CoreJvm brings in the Validation Gradle plugin for y ```kotlin plugins { module - id("io.spine.core-jvm") version "2.0.0-SNAPSHOT.053" + id("io.spine.core-jvm") version "2.0.0-SNAPSHOT.054" } ``` From 416a87da4e7a85f5e7a0ad4f05f824041c8171cc Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Mon, 23 Feb 2026 18:48:07 +0000 Subject: [PATCH 6/8] Update `_examples` ref. --- docs/_examples | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_examples b/docs/_examples index 3e415ccbc..12c323626 160000 --- a/docs/_examples +++ b/docs/_examples @@ -1 +1 @@ -Subproject commit 3e415ccbc0c7ea6a873b6fa906bf84d914190981 +Subproject commit 12c323626a43c1d72662928d38aeb9e7f38cd791 From 2ec18d269e9a179b0ec73d780023821e30cf3388 Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Mon, 23 Feb 2026 19:02:45 +0000 Subject: [PATCH 7/8] Describe adding Spine-specific Maven repositories --- .../01-getting-started/adding-to-build.md | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/docs/content/docs/validation/01-getting-started/adding-to-build.md b/docs/content/docs/validation/01-getting-started/adding-to-build.md index 0347d3b11..c8d2101b7 100644 --- a/docs/content/docs/validation/01-getting-started/adding-to-build.md +++ b/docs/content/docs/validation/01-getting-started/adding-to-build.md @@ -16,6 +16,46 @@ pluginManagement { The repositories at https://europe-maven.pkg.dev are needed for obtaining the versions of Spine tools and libraries that are not yet published to the Gradle Plugin Portal or Maven Central. +## Optional: adding Spine-specific Maven repositories + +Similarly to the plugin repositories, a project using Validation may need artifacts that +are not yet published to Maven Central. Our Gradle plugins take care of this by adding the +necessary repositories to the project when applied. So normally, you don't need to add +repositories manually when using the plugins. + +**But there is one exception to this rule:** if you use centralized repository management +in your `settings.gradle.kts` file and the `repositoriesMode` mode is set to +a value other than `PREFER_PROJECT`. For example: + +```kotlin +dependencyResolutionManagement { + repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) + repositories { + mavenLocal() + mavenCentral() + // Other repositories... + } +} +``` +In such a case, an attempt to add a repository at a project level would fail the build, +so our plugins do not add the repositories to avoid the failure. Therefore, +you need to add the repositories manually to the `repositories` block in `settings.gradle.kts` +using the `maven()` calls as shown in the snippet below. + +```kotlin +dependencyResolutionManagement { + repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) + repositories { + mavenLocal() + mavenCentral() + // Spine-specific repositories: + maven("https://europe-maven.pkg.dev/spine-event-engine/snapshots") + maven("https://europe-maven.pkg.dev/spine-event-engine/releases") + // Other repositories... + } +} +``` + ## Adding Gradle plugins to the build Spine Validation can be added to a JVM project in two different ways. From 030334f3b26665516c4b66806ec6c3d98049672e Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Mon, 23 Feb 2026 19:11:07 +0000 Subject: [PATCH 8/8] Fix language style issues --- .../validation/01-getting-started/adding-to-build.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/content/docs/validation/01-getting-started/adding-to-build.md b/docs/content/docs/validation/01-getting-started/adding-to-build.md index c8d2101b7..a1570dd62 100644 --- a/docs/content/docs/validation/01-getting-started/adding-to-build.md +++ b/docs/content/docs/validation/01-getting-started/adding-to-build.md @@ -13,18 +13,18 @@ pluginManagement { } } ``` -The repositories at https://europe-maven.pkg.dev are needed for obtaining the versions of +The repositories at https://europe-maven.pkg.dev are needed to obtain versions of Spine tools and libraries that are not yet published to the Gradle Plugin Portal or Maven Central. ## Optional: adding Spine-specific Maven repositories -Similarly to the plugin repositories, a project using Validation may need artifacts that +Similar to the plugin repositories, a project using Validation may need artifacts that are not yet published to Maven Central. Our Gradle plugins take care of this by adding the -necessary repositories to the project when applied. So normally, you don't need to add +necessary repositories to the project when applied. Normally, you don't need to add repositories manually when using the plugins. **But there is one exception to this rule:** if you use centralized repository management -in your `settings.gradle.kts` file and the `repositoriesMode` mode is set to +in your `settings.gradle.kts` file and the `repositoriesMode` is set to a value other than `PREFER_PROJECT`. For example: ```kotlin @@ -37,7 +37,7 @@ dependencyResolutionManagement { } } ``` -In such a case, an attempt to add a repository at a project level would fail the build, +In such a case, an attempt to add a repository at the project level would fail the build, so our plugins do not add the repositories to avoid the failure. Therefore, you need to add the repositories manually to the `repositories` block in `settings.gradle.kts` using the `maven()` calls as shown in the snippet below. @@ -86,7 +86,7 @@ plugins { > the subprojects of the multi-module examples project. > For more details on this, clone the [Validation examples repository][validation-examples]. -The plugin wires Validation into Spine Compiler, adds the Validation Java codegen bundle, +The plugin wires Validation into the Spine Compiler, adds the Validation Java codegen bundle, and brings in the JVM runtime dependency automatically.