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
22 changes: 22 additions & 0 deletions buildSrc/src/main/kotlin/BuildExtensions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import io.spine.dependency.build.ErrorProne
import io.spine.dependency.build.GradleDoctor
import io.spine.dependency.build.Ksp
import io.spine.dependency.build.PluginPublishPlugin
import io.spine.dependency.lib.JetBrainsAnnotations
import io.spine.dependency.lib.Protobuf
import io.spine.dependency.local.Compiler
import io.spine.dependency.local.CoreJvmCompiler
Expand All @@ -39,10 +40,12 @@ import io.spine.dependency.test.Kover
import io.spine.gradle.repo.standardToSpineSdk
import org.gradle.api.Project
import org.gradle.api.Task
import org.gradle.api.artifacts.ModuleDependency
import org.gradle.api.file.DuplicatesStrategy
import org.gradle.api.tasks.JavaExec
import org.gradle.jvm.tasks.Jar
import org.gradle.kotlin.dsl.ScriptHandlerScope
import org.gradle.kotlin.dsl.exclude
import org.gradle.plugin.use.PluginDependenciesSpec
import org.gradle.plugin.use.PluginDependencySpec

Expand Down Expand Up @@ -347,3 +350,22 @@ fun Project.allowDuplicationInSourcesJar() {
}
}
}

/**
* Excludes `org.jetbrains:annotations` from this published dependency.
*
* Build script classpaths pin the module to the version used by the Kotlin
* runtime embedded into Gradle (`strictly 13.0`, "Pinned to the embedded
* Kotlin"), while `kotlinx-coroutines` and other transitive dependencies of
* this plugin require `23.0.0`. Gradle 9.6 may fail to reconcile the two
* declarations — the outcome depends on the shape of the consumer's dependency
* graph — making the plugin unresolvable without a consumer-side workaround,
* such as forcing the module version on the build script classpath.
*
* The annotations are compile-time metadata, not needed at runtime.
* Consumers still receive version `13.0` through the `kotlin-stdlib`
* dependency, which satisfies the pin.
*/
fun ModuleDependency.excludeJetBrainsAnnotations() {
exclude(group = JetBrainsAnnotations.groupId, module = JetBrainsAnnotations.artifactId)
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ package io.spine.dependency.local
*/
@Suppress("ConstPropertyName")
object Change {
const val version = "2.0.0-SNAPSHOT.206"
const val version = "2.0.0-SNAPSHOT.207"
const val group = Spine.group
const val artifact = "spine-change"
const val lib = "$group:$artifact:$version"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ object Compiler : Dependency() {
* The version of the Compiler dependencies.
*/
override val version: String
private const val fallbackVersion = "2.0.0-SNAPSHOT.062"
private const val fallbackVersion = "2.0.0-SNAPSHOT.064"

/**
* The distinct version of the Compiler used by other build tools.
Expand All @@ -81,7 +81,7 @@ object Compiler : Dependency() {
* transitive dependencies, this is the version used to build the project itself.
*/
val dogfoodingVersion: String
private const val fallbackDfVersion = "2.0.0-SNAPSHOT.062"
private const val fallbackDfVersion = "2.0.0-SNAPSHOT.064"

/**
* The artifact for the Compiler Gradle plugin.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ package io.spine.dependency.local
*/
@Suppress("ConstPropertyName", "unused")
object Logging {
const val version = "2.0.0-SNAPSHOT.422"
const val version = "2.0.0-SNAPSHOT.423"
const val group = Spine.group

const val loggingArtifact = "spine-logging"
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/io/spine/dependency/local/Time.kt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import io.spine.dependency.Dependency
)
object Time : Dependency() {
override val group = Spine.group
override val version = "2.0.0-SNAPSHOT.244"
override val version = "2.0.0-SNAPSHOT.250"
private const val infix = "spine-time"

fun lib(version: String): String = "$group:$infix:$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.450"
const val version = "2.0.0-SNAPSHOT.460"

const val group = Spine.toolsGroup
private const val prefix = "validation"
Expand Down
44 changes: 22 additions & 22 deletions docs/dependencies/dependencies.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


# Dependencies of `io.spine.tools:compiler-api:2.0.0-SNAPSHOT.064`
# Dependencies of `io.spine.tools:compiler-api:2.0.0-SNAPSHOT.065`

## Runtime
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.22.1.
Expand Down Expand Up @@ -1102,14 +1102,14 @@

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Fri Jul 24 18:42:23 WEST 2026** using
This report was generated on **Mon Aug 03 17:17:20 WEST 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:compiler-api-tests:2.0.0-SNAPSHOT.064`
# Dependencies of `io.spine.tools:compiler-api-tests:2.0.0-SNAPSHOT.065`

## Runtime
## Compile, tests, and tooling
Expand Down Expand Up @@ -1478,14 +1478,14 @@ This report was generated on **Fri Jul 24 18:42:23 WEST 2026** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Fri Jul 24 18:42:21 WEST 2026** using
This report was generated on **Mon Aug 03 17:17:19 WEST 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:compiler-backend:2.0.0-SNAPSHOT.064`
# Dependencies of `io.spine.tools:compiler-backend:2.0.0-SNAPSHOT.065`

## Runtime
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.22.1.
Expand Down Expand Up @@ -2591,14 +2591,14 @@ This report was generated on **Fri Jul 24 18:42:21 WEST 2026** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Fri Jul 24 18:42:23 WEST 2026** using
This report was generated on **Mon Aug 03 17:17:20 WEST 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:compiler-cli:2.0.0-SNAPSHOT.064`
# Dependencies of `io.spine.tools:compiler-cli:2.0.0-SNAPSHOT.065`

## Runtime
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.22.1.
Expand Down Expand Up @@ -3863,14 +3863,14 @@ This report was generated on **Fri Jul 24 18:42:23 WEST 2026** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Fri Jul 24 18:42:23 WEST 2026** using
This report was generated on **Mon Aug 03 17:17:20 WEST 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:compiler-gradle-api:2.0.0-SNAPSHOT.064`
# Dependencies of `io.spine.tools:compiler-gradle-api:2.0.0-SNAPSHOT.065`

## Runtime
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.22.1.
Expand Down Expand Up @@ -4890,14 +4890,14 @@ This report was generated on **Fri Jul 24 18:42:23 WEST 2026** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Fri Jul 24 18:42:23 WEST 2026** using
This report was generated on **Mon Aug 03 17:17:20 WEST 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:compiler-gradle-plugin:2.0.0-SNAPSHOT.064`
# Dependencies of `io.spine.tools:compiler-gradle-plugin:2.0.0-SNAPSHOT.065`

## Runtime
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.22.1.
Expand Down Expand Up @@ -5961,14 +5961,14 @@ This report was generated on **Fri Jul 24 18:42:23 WEST 2026** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Fri Jul 24 18:42:23 WEST 2026** using
This report was generated on **Mon Aug 03 17:17:20 WEST 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:compiler-jvm:2.0.0-SNAPSHOT.064`
# Dependencies of `io.spine.tools:compiler-jvm:2.0.0-SNAPSHOT.065`

## Runtime
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.22.1.
Expand Down Expand Up @@ -7091,14 +7091,14 @@ This report was generated on **Fri Jul 24 18:42:23 WEST 2026** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Fri Jul 24 18:42:23 WEST 2026** using
This report was generated on **Mon Aug 03 17:17:20 WEST 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:compiler-params:2.0.0-SNAPSHOT.064`
# Dependencies of `io.spine.tools:compiler-params:2.0.0-SNAPSHOT.065`

## Runtime
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.22.1.
Expand Down Expand Up @@ -8192,14 +8192,14 @@ This report was generated on **Fri Jul 24 18:42:23 WEST 2026** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Fri Jul 24 18:42:23 WEST 2026** using
This report was generated on **Mon Aug 03 17:17:20 WEST 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:compiler-protoc-plugin:2.0.0-SNAPSHOT.064`
# Dependencies of `io.spine.tools:compiler-protoc-plugin:2.0.0-SNAPSHOT.065`

## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
Expand Down Expand Up @@ -9035,14 +9035,14 @@ This report was generated on **Fri Jul 24 18:42:23 WEST 2026** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Fri Jul 24 18:42:23 WEST 2026** using
This report was generated on **Mon Aug 03 17:17:20 WEST 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:compiler-test-env:2.0.0-SNAPSHOT.064`
# Dependencies of `io.spine.tools:compiler-test-env:2.0.0-SNAPSHOT.065`

## Runtime
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.22.1.
Expand Down Expand Up @@ -10144,14 +10144,14 @@ This report was generated on **Fri Jul 24 18:42:23 WEST 2026** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Fri Jul 24 18:42:23 WEST 2026** using
This report was generated on **Mon Aug 03 17:17:20 WEST 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:compiler-testlib:2.0.0-SNAPSHOT.064`
# Dependencies of `io.spine.tools:compiler-testlib:2.0.0-SNAPSHOT.065`

## Runtime
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.22.1.
Expand Down Expand Up @@ -11360,6 +11360,6 @@ This report was generated on **Fri Jul 24 18:42:23 WEST 2026** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Fri Jul 24 18:42:23 WEST 2026** using
This report was generated on **Mon Aug 03 17:17:20 WEST 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).
18 changes: 9 additions & 9 deletions docs/dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ all modules and does not describe the project structure per-subproject.
-->
<groupId>io.spine.tools</groupId>
<artifactId>compiler</artifactId>
<version>2.0.0-SNAPSHOT.064</version>
<version>2.0.0-SNAPSHOT.065</version>

<inceptionYear>2015</inceptionYear>

Expand Down Expand Up @@ -146,19 +146,19 @@ all modules and does not describe the project structure per-subproject.
<dependency>
<groupId>io.spine</groupId>
<artifactId>spine-time</artifactId>
<version>2.0.0-SNAPSHOT.244</version>
<version>2.0.0-SNAPSHOT.250</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.spine</groupId>
<artifactId>spine-time-java</artifactId>
<version>2.0.0-SNAPSHOT.244</version>
<version>2.0.0-SNAPSHOT.250</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.spine</groupId>
<artifactId>spine-validation-jvm-runtime</artifactId>
<version>2.0.0-SNAPSHOT.450</version>
<version>2.0.0-SNAPSHOT.460</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand All @@ -182,7 +182,7 @@ all modules and does not describe the project structure per-subproject.
<dependency>
<groupId>io.spine.tools</groupId>
<artifactId>logging-testlib</artifactId>
<version>2.0.0-SNAPSHOT.422</version>
<version>2.0.0-SNAPSHOT.423</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -290,7 +290,7 @@ all modules and does not describe the project structure per-subproject.
<dependency>
<groupId>io.spine.tools</groupId>
<artifactId>time-testlib</artifactId>
<version>2.0.0-SNAPSHOT.244</version>
<version>2.0.0-SNAPSHOT.250</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -381,12 +381,12 @@ all modules and does not describe the project structure per-subproject.
<dependency>
<groupId>io.spine.tools</groupId>
<artifactId>compiler-cli-all</artifactId>
<version>2.0.0-SNAPSHOT.062</version>
<version>2.0.0-SNAPSHOT.064</version>
</dependency>
<dependency>
<groupId>io.spine.tools</groupId>
<artifactId>compiler-protoc-plugin</artifactId>
<version>2.0.0-SNAPSHOT.062</version>
<version>2.0.0-SNAPSHOT.064</version>
</dependency>
<dependency>
<groupId>io.spine.tools</groupId>
Expand All @@ -411,7 +411,7 @@ all modules and does not describe the project structure per-subproject.
<dependency>
<groupId>io.spine.tools</groupId>
<artifactId>validation-java-bundle</artifactId>
<version>2.0.0-SNAPSHOT.450</version>
<version>2.0.0-SNAPSHOT.460</version>
</dependency>
<dependency>
<groupId>org.jacoco</groupId>
Expand Down
Loading
Loading