Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
fd87386
Bump version -> `2.0.0-SNAPSHOT.412`
alexander-yevsyukov Apr 22, 2026
3126687
Update `config`
alexander-yevsyukov Apr 22, 2026
6d02342
Force the version of JetBrains Annotations
alexander-yevsyukov Apr 22, 2026
78980c5
Inject `JavaValueConverter`
alexander-yevsyukov Apr 22, 2026
61677e3
Guard against double call in `OptionGenerator.inject()`
alexander-yevsyukov Apr 22, 2026
d04454c
Make nullabilty checks idiomatic to Kotlin
alexander-yevsyukov Apr 22, 2026
b3d1721
Create converters inside `OptrionGenerator.inject()`
alexander-yevsyukov Apr 22, 2026
3454184
Introduce `OptionGeneratorWithConverter`
alexander-yevsyukov Apr 22, 2026
d920d1d
Add a link to `OptionGeneratorWithConverter`
alexander-yevsyukov Apr 22, 2026
d6113ad
Fix KDoc wrapping
alexander-yevsyukov Apr 22, 2026
cd74af6
Fix the KDoc link
alexander-yevsyukov Apr 23, 2026
6b4343c
Bump Compiler -> `2.0.0-SNAPSHOT.043`
alexander-yevsyukov Apr 23, 2026
df125a8
Update `config`
alexander-yevsyukov Apr 23, 2026
9732263
Document using `@AutoService`
alexander-yevsyukov Apr 23, 2026
fa4b88e
Use named parameter
alexander-yevsyukov Apr 23, 2026
954e68b
Update dependency reports
alexander-yevsyukov Apr 23, 2026
1780308
Use extension from Compiler
alexander-yevsyukov Apr 23, 2026
81565a4
Improve function name
alexander-yevsyukov Apr 23, 2026
35779d3
Add Agent task file
alexander-yevsyukov Apr 23, 2026
2df3d54
Consolidate `(when)` option handling
alexander-yevsyukov Apr 23, 2026
26473d2
Fix `context-test` module plugins
alexander-yevsyukov Apr 23, 2026
8e8eec4
Introduce `time-validation-tests` module
alexander-yevsyukov Apr 23, 2026
232b5a6
Optimise imports
alexander-yevsyukov Apr 23, 2026
290521d
Fix missing `module-testing` plugin
alexander-yevsyukov Apr 23, 2026
70fd05d
Do not ignore unknown packed types
alexander-yevsyukov Apr 23, 2026
118d3ea
Update build time
alexander-yevsyukov Apr 23, 2026
fe2d966
Extract `time-validating` module
alexander-yevsyukov Apr 24, 2026
b83ad82
Remove complete task document
alexander-yevsyukov Apr 24, 2026
9d690f9
Introduce `time-consumer` module
alexander-yevsyukov Apr 24, 2026
28059cf
Update dependency reports
alexander-yevsyukov Apr 24, 2026
f71b169
Remove unused code
alexander-yevsyukov Apr 24, 2026
333c0f2
Optimise imports
alexander-yevsyukov Apr 24, 2026
0d3ec1f
Bump Validation
alexander-yevsyukov Apr 24, 2026
e5bd8f0
Update build time
alexander-yevsyukov Apr 24, 2026
812bb7f
Fix code layout
alexander-yevsyukov Apr 24, 2026
11353c8
Fix Java package for Time Validation tools
alexander-yevsyukov Apr 24, 2026
0d2acb0
Update build time
alexander-yevsyukov Apr 24, 2026
344d9f5
Fix the proto package for time validation events
alexander-yevsyukov Apr 24, 2026
5cd9c28
Update build time
alexander-yevsyukov Apr 24, 2026
1611b33
Remove unused code
alexander-yevsyukov Apr 24, 2026
147e221
Update build time
alexander-yevsyukov Apr 24, 2026
1c7402f
Update (c) year
alexander-yevsyukov Apr 24, 2026
cb70cef
Update (c) year
alexander-yevsyukov Apr 24, 2026
48fa083
Optimise imports
alexander-yevsyukov Apr 24, 2026
cf6ac3a
Update (c) year
alexander-yevsyukov Apr 24, 2026
ba021a4
Update (c) year
alexander-yevsyukov Apr 24, 2026
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
2 changes: 1 addition & 1 deletion .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 8 additions & 6 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ plugins {
java
groovy
`kotlin-dsl`

// https://github.com/jk1/Gradle-License-Report/releases
id("com.github.jk1.dependency-license-report").version("2.9")
}

repositories {
Expand All @@ -65,7 +62,12 @@ val jacksonVersion = "2.18.3"
*/
val googleAuthToolVersion = "2.1.5"

val licenseReportVersion = "2.7"
/**
* Generates reports about the licenses of the dependencies for a Gradle project.
*
* https://github.com/jk1/Gradle-License-Report
*/
val licenseReportVersion = "3.1.2"

val grGitVersion = "4.1.1"

Expand Down Expand Up @@ -113,7 +115,7 @@ val protobufPluginVersion = "0.9.6"
* @see <a href="https://github.com/Kotlin/dokka/releases">
* Dokka Releases</a>
*/
val dokkaVersion = "2.1.0"
val dokkaVersion = "2.2.0"

/**
* The version of Detekt Gradle Plugin.
Expand All @@ -139,7 +141,7 @@ val koverVersion = "0.9.1"
*
* @see <a href="https://github.com/GradleUp/shadow">Shadow Plugin releases</a>
*/
val shadowVersion = "9.2.2"
val shadowVersion = "9.4.1"

/**
* The version of JUnit used to test the build scripts.
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/ForcePlugins.kt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ fun ScriptHandlerScope.forceCodegenPlugins() {

dependencies {
CoreJvmCompiler.run {
classpath(pluginLibNew(version))
classpath(pluginLib(version))
}
spineCompiler.run {
classpath(pluginLib(version))
Expand Down
7 changes: 5 additions & 2 deletions buildSrc/src/main/kotlin/io/spine/dependency/build/Dokka.kt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@

package io.spine.dependency.build

import io.spine.dependency.build.Dokka.GradlePlugin.id
import io.spine.dependency.local.Spine

// https://github.com/Kotlin/dokka
@Suppress("unused", "ConstPropertyName")
object Dokka {
Expand All @@ -35,7 +38,7 @@ object Dokka {
* When changing the version, also change the version used in the
* `buildSrc/build.gradle.kts`.
*/
const val version = "2.1.0"
const val version = "2.2.0"

object GradlePlugin {
const val id = "org.jetbrains.dokka"
Expand Down Expand Up @@ -76,7 +79,7 @@ object Dokka {
* Custom Dokka Plugins</a>
*/
object SpineExtensions {
private const val group = "io.spine.tools"
private const val group = Spine.toolsGroup

const val version = "2.0.0-SNAPSHOT.7"
const val lib = "$group:spine-dokka-extensions:$version"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/*
* Copyright 2026, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
* disclaimer.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

package io.spine.dependency.lib

/**
* Annotations library from JetBrains.
*
* https://github.com/JetBrains/java-annotations
*/
object JetBrainsAnnotations {
/**
* The version of the library transitively used.
*/
const val version = "23.0.0"
const val groupId = "org.jetbrains"
const val artifactId = "annotations"
const val lib = "$groupId:$artifactId:$version"
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ import io.spine.dependency.Dependency
)
object Compiler : Dependency() {
const val pluginGroup = Spine.group
override val group = "io.spine.tools"
override val group = Spine.toolsGroup
const val pluginId = "io.spine.compiler"

/**
Expand All @@ -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.041"
private const val fallbackVersion = "2.0.0-SNAPSHOT.043"

/**
* 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.041"
private const val fallbackDfVersion = "2.0.0-SNAPSHOT.043"

/**
* The artifact for the Compiler Gradle plugin.
Expand Down
12 changes: 6 additions & 6 deletions buildSrc/src/main/kotlin/io/spine/dependency/local/CoreJvm.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, TeamDev. All rights reserved.
* Copyright 2026, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -39,7 +39,7 @@ typealias CoreJava = CoreJvm
@Suppress("ConstPropertyName", "unused")
object CoreJvm {
const val group = Spine.group
const val version = "2.0.0-SNAPSHOT.372"
const val version = "2.0.0-SNAPSHOT.373"

const val coreArtifact = "spine-core"
const val clientArtifact = "spine-client"
Expand All @@ -50,9 +50,9 @@ object CoreJvm {
const val server = "$group:$serverArtifact:$version"

@Deprecated("Use `serverTestLib` instead.", ReplaceWith("serverTestLib"))
const val testUtilServer = "${Spine.toolsGroup}:spine-server-testlib:$version"
const val testUtilServer = "${Spine.toolsGroup}:server-testlib:$version"

const val coreTestLib = "${Spine.toolsGroup}:spine-core-testlib:$version"
const val clientTestLib = "${Spine.toolsGroup}:spine-client-testlib:$version"
const val serverTestLib = "${Spine.toolsGroup}:spine-server-testlib:$version"
const val coreTestLib = "${Spine.toolsGroup}:core-testlib:$version"
const val clientTestLib = "${Spine.toolsGroup}:client-testlib:$version"
const val serverTestLib = "${Spine.toolsGroup}:server-testlib:$version"
}
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.058"
const val dogfoodingVersion = "2.0.0-SNAPSHOT.062"

/**
* The version to be used for integration tests.
*/
const val version = "2.0.0-SNAPSHOT.058"
const val version = "2.0.0-SNAPSHOT.062"

/**
* The ID of the Gradle plugin.
Expand All @@ -61,33 +61,20 @@ object CoreJvmCompiler {
/**
* The library with the [dogfoodingVersion].
*/
val pluginLib = pluginLibNew(dogfoodingVersion)
val pluginLib = pluginLib(dogfoodingVersion)

/**
* The library with the given [version].
*
* This is the notation before the version `2.0.0-SNAPSHOT.013`
* The name of the published fat JAR artifact.
*/
@Deprecated("Use `pluginLibNew()` instead.")
fun pluginLib(version: String): String = "$group:core-jvm-plugins:$version:all"
const val fatJarArtifact = "core-jvm-plugins"

/**
* The library with the given [version].
*
* @since 2.0.0-SNAPSHOT.013
*/
fun pluginLibNew(version: String): String = "$group:core-jvm-plugins:$version"

/** The artifact reference for forcing in configurations. */
const val pluginsArtifact: String = "$group:core-jvm-plugins:$version"

/**
* The `core-jvm-base` artifact with the [version].
*/
val base = base(version)
fun pluginLib(version: String): String = "$group:core-jvm-plugins:$version"

/**
* The `core-jvm-base` artifact with the given [version].
* The artifact reference for forcing in configurations.
*/
fun base(version: String): String = "$group:core-jvm-base:$version"
val pluginsArtifact: String = pluginLib(version)
}
6 changes: 3 additions & 3 deletions buildSrc/src/main/kotlin/io/spine/dependency/local/Logging.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, TeamDev. All rights reserved.
* Copyright 2026, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -33,7 +33,7 @@ package io.spine.dependency.local
*/
@Suppress("ConstPropertyName", "unused")
object Logging {
const val version = "2.0.0-SNAPSHOT.411"
const val version = "2.0.0-SNAPSHOT.417"
const val group = Spine.group

const val loggingArtifact = "spine-logging"
Expand All @@ -46,7 +46,7 @@ object Logging {
const val grpcContext = "$group:spine-logging-grpc-context:$version"
const val smokeTest = "$group:spine-logging-smoke-test:$version"

const val testLib = "${Spine.toolsGroup}:spine-logging-testlib:$version"
const val testLib = "${Spine.toolsGroup}:logging-testlib:$version"

// Transitive dependencies.
// Make `public` and use them to force a version in a particular repository, if needed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ package io.spine.dependency.local
"MemberVisibilityCanBePrivate" /* The properties are used directly by other subprojects. */,
)
object ProtoTap {
const val group = "io.spine.tools"
const val group = Spine.toolsGroup
const val version = "0.14.0"
const val gradlePluginId = "io.spine.prototap"
const val api = "$group:prototap-api:$version"
Expand Down
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/io/spine/dependency/local/TestLib.kt
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ package io.spine.dependency.local
*/
@Suppress("ConstPropertyName")
object TestLib {
const val version = "2.0.0-SNAPSHOT.211"
const val version = "2.0.0-SNAPSHOT.213"
const val group = Spine.toolsGroup
const val artifact = "spine-testlib"
const val artifact = "base-testlib"
const val lib = "$group:$artifact:$version"
}
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.376"
const val dogfoodingVersion = "2.0.0-SNAPSHOT.376"
const val version = "2.0.0-SNAPSHOT.378"
const val dogfoodingVersion = "2.0.0-SNAPSHOT.378"

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.409"
const val version = "2.0.0-SNAPSHOT.411"

/**
* The last version of Validation compatible with ProtoData.
Expand Down
30 changes: 12 additions & 18 deletions buildSrc/src/main/kotlin/io/spine/dependency/test/Kotest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -35,29 +35,23 @@ package io.spine.dependency.test
*/
@Suppress("unused", "ConstPropertyName")
object Kotest {
const val version = "6.1.10"
const val version = "6.1.11"
const val group = "io.kotest"
const val gradlePluginId = "io.kotest"
const val assertions = "$group:kotest-assertions-core:$version"
const val runnerJUnit5 = "$group:kotest-runner-junit5:$version"
const val runnerJUnit5Jvm = "$group:kotest-runner-junit5-jvm:$version"
const val frameworkApi = "$group:kotest-framework-api:$version"
const val datatest = "$group:kotest-framework-datatest:$version"
const val frameworkEngine = "$group:kotest-framework-engine:$version"
const val common = "$group:kotest-common:$version"

// https://plugins.gradle.org/plugin/io.kotest.multiplatform
@Deprecated("The plugin is deprecated. Use `io.kotest` plugin instead.")
object MultiplatformGradlePlugin {
const val version = "6.0.0.M4"
const val id = "io.kotest.multiplatform"
const val classpath = "$group:kotest-framework-multiplatform-plugin-gradle:$version"
}

// https://github.com/kotest/kotest-gradle-plugin
@Deprecated("The repository is archived. Use `io.kotest.multiplatform` plugin instead.")
object JvmGradlePlugin {
const val version = "0.4.11"
const val id = "io.kotest"
const val classpath = "$group:kotest-gradle-plugin:$version"
}
/**
* @deprecated Use `frameworkEngine` instead.
*/
@Deprecated("Use `frameworkEngine` instead.", ReplaceWith("frameworkEngine"))
const val frameworkApi = "$group:kotest-framework-api:$version"
/**
* @deprecated The dependency was merged into the core framework.
*/
@Deprecated("The dependency was merged into the core framework.")
const val datatest = "$group:kotest-framework-datatest:$version"
}
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,7 @@ class UpdateGitHubPages : Plugin<Project> {
override fun apply(project: Project) {
val extension = UpdateGitHubPagesExtension.createIn(project)
project.afterEvaluate {
//TODO:2025-11-20:alexander.yevsyukov: Remove this line and uncomment the below block
// when new publishing procedure is finalized.
registerTasks(extension)
// val projectVersion = project.version.toString()
// if (projectVersion.isSnapshot()) {
// registerNoOpTask()
// } else {
// registerTasks(extension)
// }
}
}

Expand Down
Loading
Loading