Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
64 changes: 32 additions & 32 deletions dependencies.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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).
2 changes: 1 addition & 1 deletion docs/_examples
48 changes: 44 additions & 4 deletions docs/content/docs/validation/01-getting-started/adding-to-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,49 @@ 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

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. 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` 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 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.

```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.
Expand All @@ -36,7 +76,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"
}
```

Expand All @@ -46,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.


Expand All @@ -59,7 +99,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"
}
```

Expand Down
Loading
Loading