Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated event routing, updated dependencies #181

Merged
merged 97 commits into from
Feb 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
4a8f23e
Bump version -> `2.0.0-SNAPSHOT.263`
alexander-yevsyukov Jan 13, 2025
1abe2f3
Update config and local dependencies
alexander-yevsyukov Jan 13, 2025
240083e
Update dependency reports
alexander-yevsyukov Jan 13, 2025
61f05a3
Remove redundant module filtering
alexander-yevsyukov Jan 13, 2025
2943d25
Bump Kotlin and KSP
alexander-yevsyukov Jan 13, 2025
137f759
Update KSP version docs
alexander-yevsyukov Jan 13, 2025
5bfcce3
Update dependency reports
alexander-yevsyukov Jan 13, 2025
d7b727a
Address deprecations
alexander-yevsyukov Jan 13, 2025
b2e7b1e
Update dependency reports
alexander-yevsyukov Jan 13, 2025
71530a2
Add `routing` module
alexander-yevsyukov Jan 13, 2025
919eaf7
Rollback Ksp
alexander-yevsyukov Jan 13, 2025
6c36208
Draft `RouteProcessor`
alexander-yevsyukov Jan 14, 2025
d50e071
Add `ksp` artifact
alexander-yevsyukov Jan 14, 2025
dddd609
Draft stub domain
alexander-yevsyukov Jan 20, 2025
0856667
Refine KSP-related dependencies
alexander-yevsyukov Jan 20, 2025
3707746
Draft compilation-based test
alexander-yevsyukov Jan 20, 2025
1d9765e
Ensure generated code is ready for KSP tasks
alexander-yevsyukov Jan 20, 2025
ce3b804
Test routing function must be static
alexander-yevsyukov Jan 20, 2025
e6a919c
Remove trailing spaces
alexander-yevsyukov Jan 21, 2025
1f21121
Extract signature check into a class
alexander-yevsyukov Jan 21, 2025
afec8d8
Separate processing of command- and event routing functions
alexander-yevsyukov Jan 22, 2025
e7409d5
Pre-process declared functions
alexander-yevsyukov Jan 22, 2025
7a1bd40
Auto-updated by IDEA
alexander-yevsyukov Jan 22, 2025
33ccdc3
Check routing function is a class member
alexander-yevsyukov Jan 23, 2025
3cc1e48
Use Kotlin-specific error for non-static routing function
alexander-yevsyukov Jan 23, 2025
ff62fb2
Improve language about functions in Kotlin
alexander-yevsyukov Jan 23, 2025
7a8e2c0
Simplify diagnostics depending on declaration origin
alexander-yevsyukov Jan 23, 2025
37fbc19
Check the number of parameters
alexander-yevsyukov Jan 23, 2025
6c350a5
Simplify docs and suppressions
alexander-yevsyukov Jan 23, 2025
db67107
Simplify control flow
alexander-yevsyukov Jan 23, 2025
1f76777
Check parameter types
alexander-yevsyukov Jan 23, 2025
1537c2f
Improve docs
alexander-yevsyukov Jan 23, 2025
53def51
Document matching parameters
alexander-yevsyukov Jan 24, 2025
d720868
Improve code layout
alexander-yevsyukov Jan 24, 2025
630828a
Improve filtering and general error checks
alexander-yevsyukov Jan 24, 2025
7cf10cf
Remove redundant class
alexander-yevsyukov Jan 24, 2025
20d7d5d
Add state update routing
alexander-yevsyukov Jan 26, 2025
3a28a08
Fix matching `KSType`s
alexander-yevsyukov Jan 26, 2025
e6aa38e
Update dependency reports
alexander-yevsyukov Jan 26, 2025
e8b8e5a
Suppress Kotlin compilation console output
alexander-yevsyukov Jan 26, 2025
029e6a6
Update dependency report
alexander-yevsyukov Jan 26, 2025
98df2b4
Improve file name
alexander-yevsyukov Jan 27, 2025
d4affe5
Add stub context for routing integration test
alexander-yevsyukov Jan 27, 2025
12faef9
Fix grouping functions by classes
alexander-yevsyukov Jan 28, 2025
47ebcc6
Uncomment routing function
alexander-yevsyukov Jan 28, 2025
9f8b3d2
Draft generated routing setup API
alexander-yevsyukov Jan 28, 2025
abc0e55
Improve code layout
alexander-yevsyukov Jan 28, 2025
37b9fa5
Optimise imports
alexander-yevsyukov Jan 29, 2025
b7ab494
Draft loading routing setup as a service
alexander-yevsyukov Jan 29, 2025
a7a12cc
Address deprecations
alexander-yevsyukov Jan 30, 2025
f102086
Expand parameter properties
alexander-yevsyukov Jan 30, 2025
2eea1c3
Annotate generated routing class
alexander-yevsyukov Jan 30, 2025
b74530f
Bump ToolBase -> `2.0.0-SNAPSHOT.250`
alexander-yevsyukov Jan 30, 2025
287e42f
Remove unused code
alexander-yevsyukov Jan 31, 2025
e6610d0
Bump JUnit
alexander-yevsyukov Jan 31, 2025
6f37a5a
Improve method name
alexander-yevsyukov Jan 31, 2025
2cd9de5
Rollback ToolBase -> `2.0.0-SNAPSHOT.240`
alexander-yevsyukov Jan 31, 2025
b7a47fa
Draft generating `setup` function
alexander-yevsyukov Jan 31, 2025
3c24463
Bump `AutoServiceKsp` -> `1.2.0`
alexander-yevsyukov Feb 1, 2025
1f3d4ac
Pull the registry up
alexander-yevsyukov Feb 1, 2025
7c54dd0
Compare `RouteFun` by message parameters
alexander-yevsyukov Feb 1, 2025
3fccf27
Bump CoreJava -> `2.0.0-SNAPSHOT.193`
alexander-yevsyukov Feb 1, 2025
1c05224
Generate event routes
alexander-yevsyukov Feb 1, 2025
cee7790
Use 4 spaces for indentation
alexander-yevsyukov Feb 1, 2025
bbea08d
Add `Generated` annotation
alexander-yevsyukov Feb 2, 2025
dfa0456
Add KDoc for the generated setup
alexander-yevsyukov Feb 2, 2025
affe0b8
Pull visitors to the package level
alexander-yevsyukov Feb 2, 2025
2fe2bbf
Introduce `processor` package
alexander-yevsyukov Feb 2, 2025
984dc81
Improve property names
alexander-yevsyukov Feb 2, 2025
4cb94ac
Add documentation
alexander-yevsyukov Feb 3, 2025
f952250
Bump `dokka-extensions` -> `2.0.0-SNAPSHOT.6`
alexander-yevsyukov Feb 6, 2025
6ac08ca
Bump Base -> `2.0.0-SNAPSHOT.240`
alexander-yevsyukov Feb 6, 2025
7541361
Bump CoreJava -> `2.0.0-SNAPSHOT.200`
alexander-yevsyukov Feb 6, 2025
b2b5420
Bump CoreJava -> `2.0.0-SNAPSHOT.200`
alexander-yevsyukov Feb 6, 2025
9b02eb9
Update `config`
alexander-yevsyukov Feb 13, 2025
44c0ee5
Avoid no longer necessary `!!`
alexander-yevsyukov Feb 13, 2025
8ff408c
Bump internal dependencies
alexander-yevsyukov Feb 15, 2025
16756f8
Support excluding descriptors
alexander-yevsyukov Feb 15, 2025
bb77ef0
Exclude files and types that fail the compilation
alexander-yevsyukov Feb 15, 2025
461e709
Auto-update by IDEA
alexander-yevsyukov Feb 15, 2025
9e5e64a
Bump local dependencies
alexander-yevsyukov Feb 17, 2025
155d6b4
Address API changes in ProtoData
alexander-yevsyukov Feb 17, 2025
66d36ea
Do not require `@JvmStatic` on Kotlin route functions
alexander-yevsyukov Feb 17, 2025
3c49910
Do not check for `@JvmStatic`
alexander-yevsyukov Feb 17, 2025
889ae64
Bump BaseTypes -> `2.0.0-SNAPSHOT.130`
alexander-yevsyukov Feb 18, 2025
695a159
Fix docs
alexander-yevsyukov Feb 18, 2025
61f504c
Use extension from ProtoData
alexander-yevsyukov Feb 18, 2025
7f3ab38
Merge remote-tracking branch 'origin/generated-routing' into generate…
alexander-yevsyukov Feb 18, 2025
35f7ff6
Remove duplicating code
alexander-yevsyukov Feb 18, 2025
8f136e0
Force Coroutines version
alexander-yevsyukov Feb 18, 2025
b97cf29
Use `Compilation.error`
alexander-yevsyukov Feb 18, 2025
a826319
Temporarily disable `validation-smoke` integration test project
alexander-yevsyukov Feb 18, 2025
91665ff
Bump ProtoData -> `0.92.3`
alexander-yevsyukov Feb 18, 2025
c9a6c1d
Add remote debug fixture
alexander-yevsyukov Feb 18, 2025
b3faa43
Update config ref.
alexander-yevsyukov Feb 18, 2025
76b3fe2
Remove unused property
alexander-yevsyukov Feb 18, 2025
1180823
Update dependency reports
alexander-yevsyukov Feb 18, 2025
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.

18 changes: 8 additions & 10 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024, TeamDev. All rights reserved.
* Copyright 2025, 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 @@ -47,7 +47,6 @@ import org.jetbrains.dokka.gradle.DokkaMultiModuleTask
buildscript {
standardSpineSdkRepositories()

val spine = io.spine.dependency.local.Spine
val toolBase = io.spine.dependency.local.ToolBase
val coreJava = io.spine.dependency.local.CoreJava
val validation = io.spine.dependency.local.Validation
Expand All @@ -61,8 +60,12 @@ buildscript {
resolutionStrategy {
force(
io.spine.dependency.lib.Grpc.api,
spine.baseForBuildScript,
spine.reflect,
io.spine.dependency.lib.KotlinX.Coroutines.bom,
io.spine.dependency.lib.KotlinX.Coroutines.core,
io.spine.dependency.lib.KotlinX.Coroutines.jdk8,

io.spine.dependency.local.Base.libForBuildScript,
io.spine.dependency.local.Reflect.lib,
toolBase.lib,
coreJava.server,
logging.lib,
Expand Down Expand Up @@ -95,12 +98,7 @@ private object BuildSettings {
}

spinePublishing {
modules = productionModules.map { it.name }
// Do not publish the validation codegen module as it is deprecated in favor of
// ProtoData-based code generation of the Validation library.
// The module is still kept for the sake of historical reference.
.filter { !it.contains("mc-java-validation") }
.toSet()
modules = productionModules.map { it.name }.toSet()
destinations = PublishingRepos.run {
setOf(
cloudArtifactRegistry,
Expand Down
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/io/spine/dependency/build/Dokka.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024, TeamDev. All rights reserved.
* Copyright 2025, 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 @@ -78,7 +78,7 @@ object Dokka {
object SpineExtensions {
private const val group = "io.spine.tools"

const val version = "2.0.0-SNAPSHOT.4"
const val version = "2.0.0-SNAPSHOT.6"
const val lib = "$group:spine-dokka-extensions:$version"
}
}
15 changes: 14 additions & 1 deletion buildSrc/src/main/kotlin/io/spine/dependency/build/Ksp.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024, TeamDev. All rights reserved.
* Copyright 2025, 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 @@ -31,10 +31,23 @@ package io.spine.dependency.build
*
* @see <a href="https://github.com/google/ksp">KSP GitHub repository</a>
*/
@Suppress("ConstPropertyName")
object Ksp {

/**
* The latest version compatible with Kotlin v1.8.22, which is bundled with Gradle 7.6.4.
*
* We need to stick to this version until we migrate to newer Gradle.
* Trying to use a newer version results in the following console output:
* ```
* ksp-1.9.24-1.0.20 is too new for kotlin-1.8.22. Please upgrade kotlin-gradle-plugin to 1.9.24.
* ```
*
* The version compatible with Kotlin v1.9.24 compiler is 1.9.24-1.0.20.
*/
const val version = "1.8.22-1.0.11"
const val id = "com.google.devtools.ksp"
const val group = "com.google.devtools.ksp"
const val symbolProcessingApi = "$group:symbol-processing-api:$version"
const val symbolProcessing = "$group:symbol-processing:$version"
}
9 changes: 2 additions & 7 deletions buildSrc/src/main/kotlin/io/spine/dependency/lib/Auto.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024, TeamDev. All rights reserved.
* Copyright 2025, 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 @@ -50,11 +50,6 @@ object AutoValue {

// https://github.com/ZacSweers/auto-service-ksp
object AutoServiceKsp {
/**
* The latest version compatible with Kotlin 1.8.22.
*
* @see io.spine.dependency.build.Ksp.version
*/
private const val version = "1.1.0"
private const val version = "1.2.0"
const val processor = "dev.zacsweers.autoservice:auto-service-ksp:$version"
}
7 changes: 6 additions & 1 deletion buildSrc/src/main/kotlin/io/spine/dependency/lib/Kotlin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ object Kotlin {
* When changing the version, also change the version used in the `buildSrc/build.gradle.kts`.
*/
@Suppress("MemberVisibilityCanBePrivate") // used directly from the outside.
const val version = "1.9.23"
const val version = "1.9.24"

/**
* The version of the JetBrains annotations library, which is a transitive
Expand Down Expand Up @@ -63,4 +63,9 @@ object Kotlin {
const val gradlePluginLib = "$group:kotlin-gradle-plugin:$version"

const val jetbrainsAnnotations = "org.jetbrains:annotations:$annotationsVersion"

object Compiler {
const val version = "1.8.22"
const val embeddable = "$group:kotlin-compiler-embeddable:$version"
}
}
35 changes: 35 additions & 0 deletions buildSrc/src/main/kotlin/io/spine/dependency/lib/KotlinPoet.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/*
* Copyright 2025, 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

// https://github.com/square/kotlinpoet
@Suppress("unused", "ConstPropertyName")
object KotlinPoet {
private const val version = "2.0.0"
const val lib = "com.squareup:kotlinpoet:$version"
const val ksp = "com.squareup:kotlinpoet-ksp:$version"
}
4 changes: 3 additions & 1 deletion buildSrc/src/main/kotlin/io/spine/dependency/lib/KotlinX.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024, TeamDev. All rights reserved.
* Copyright 2025, 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 @@ -35,7 +35,9 @@ object KotlinX {

// https://github.com/Kotlin/kotlinx.coroutines
const val version = "1.9.0"
const val bom = "$group:kotlinx-coroutines-bom:$version"
const val core = "$group:kotlinx-coroutines-core:$version"
const val coreJvm = "$group:kotlinx-coroutines-core-jvm:$version"
const val jdk8 = "$group:kotlinx-coroutines-jdk8:$version"
const val test = "$group:kotlinx-coroutines-test:$version"
}
Expand Down
6 changes: 3 additions & 3 deletions buildSrc/src/main/kotlin/io/spine/dependency/local/Base.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024, TeamDev. All rights reserved.
* Copyright 2025, 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,8 +33,8 @@ package io.spine.dependency.local
*/
@Suppress("ConstPropertyName")
object Base {
const val version = "2.0.0-SNAPSHOT.234"
const val versionForBuildScript = "2.0.0-SNAPSHOT.232"
const val version = "2.0.0-SNAPSHOT.241"
const val versionForBuildScript = "2.0.0-SNAPSHOT.241"
const val group = Spine.group
const val artifact = "spine-base"
const val lib = "$group:$artifact:$version"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024, TeamDev. All rights reserved.
* Copyright 2025, 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
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024, TeamDev. All rights reserved.
* Copyright 2025, 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 @@ -34,7 +34,7 @@ package io.spine.dependency.local
@Suppress("ConstPropertyName", "unused")
object CoreJava {
const val group = Spine.group
const val version = "2.0.0-SNAPSHOT.191"
const val version = "2.0.0-SNAPSHOT.203"

const val coreArtifact = "spine-core"
const val clientArtifact = "spine-client"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024, TeamDev. All rights reserved.
* Copyright 2025, 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
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/io/spine/dependency/local/McJava.kt
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ object McJava {
/**
* The version used to in the build classpath.
*/
const val dogfoodingVersion = "2.0.0-SNAPSHOT.261"
const val dogfoodingVersion = "2.0.0-SNAPSHOT.262"

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

/**
* The ID of the Gradle plugin.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ object ProtoData {
* The version of ProtoData dependencies.
*/
val version: String
private const val fallbackVersion = "0.90.1"
private const val fallbackVersion = "0.92.3"

/**
* The distinct version of ProtoData used by other build tools.
Expand All @@ -82,7 +82,7 @@ object ProtoData {
* transitional dependencies, this is the version used to build the project itself.
*/
val dogfoodingVersion: String
private const val fallbackDfVersion = "0.90.0"
private const val fallbackDfVersion = "0.91.4"

/**
* The artifact for the ProtoData Gradle plugin.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024, TeamDev. All rights reserved.
* Copyright 2025, 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 @@ -38,7 +38,7 @@ package io.spine.dependency.local
)
object ProtoTap {
const val group = "io.spine.tools"
const val version = "0.8.7"
const val version = "0.9.1"
const val gradlePluginId = "io.spine.prototap"
const val api = "$group:prototap-api:$version"
const val gradlePlugin = "$group:prototap-gradle-plugin:$version"
Expand Down
16 changes: 11 additions & 5 deletions buildSrc/src/main/kotlin/io/spine/dependency/local/Spine.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024, TeamDev. All rights reserved.
* Copyright 2025, 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 @@ -53,7 +53,7 @@ object Spine {
@Deprecated(message = "Please use `Time.lib`.", ReplaceWith("Time.lib"))
const val time = Time.lib

@Deprecated(message = "Please use `Time.lib`.", ReplaceWith("Time.lib"))
@Deprecated(message = "Please use `Change.lib`.", ReplaceWith("Change.lib"))
const val change = Change.lib

@Deprecated(message = "Please use `Text.lib`.", ReplaceWith("Text.lib"))
Expand All @@ -68,13 +68,19 @@ object Spine {
@Deprecated(message = "Please use `ToolBase.psiJava` instead`.")
const val psiJava = "$toolsGroup:spine-psi-java:${ToolBase.version}"

@Deprecated(message = "Please use `ToolBase.psiJava` instead`.")
@Deprecated(
message = "Please use `ToolBase.psiJava` instead`.",
ReplaceWith("ToolBase.psiJava")
)
const val psiJavaBundle = "$toolsGroup:spine-psi-java-bundle:${ToolBase.version}"

@Deprecated(message = "Please use `ToolBase.lib` instead`.")
@Deprecated(message = "Please use `ToolBase.lib` instead`.", ReplaceWith("ToolBase.lib"))
const val toolBase = "$toolsGroup:spine-tool-base:${ToolBase.version}"

@Deprecated(message = "Please use `ToolBase.pluginBase` instead`.")
@Deprecated(
message = "Please use `ToolBase.pluginBase` instead`.",
ReplaceWith("ToolBase.pluginBase")
)
const val pluginBase = "$toolsGroup:spine-plugin-base:${ToolBase.version}"

@Deprecated(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024, TeamDev. All rights reserved.
* Copyright 2025, 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
7 changes: 3 additions & 4 deletions buildSrc/src/main/kotlin/io/spine/dependency/local/Time.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024, TeamDev. All rights reserved.
* Copyright 2025, 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,11 +33,10 @@ package io.spine.dependency.local
*/
@Suppress("ConstPropertyName")
object Time {
const val version = "2.0.0-SNAPSHOT.135"
const val version = "2.0.0-SNAPSHOT.136"
const val group = Spine.group
const val artifact = "spine-time"
const val lib = "$group:$artifact:$version"

//TODO:2024-11-29:alexander.yevsyukov: Change the artifact name to `spine-time-testlib`.
const val testLib = "${Spine.toolsGroup}:spine-testutil-time:$version"
const val testLib = "${Spine.toolsGroup}:spine-time-testlib:$version"
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024, TeamDev. All rights reserved.
* Copyright 2025, 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 @@ -34,7 +34,7 @@ package io.spine.dependency.local
@Suppress("ConstPropertyName", "unused")
object ToolBase {
const val group = Spine.toolsGroup
const val version = "2.0.0-SNAPSHOT.240"
const val version = "2.0.0-SNAPSHOT.244"

const val lib = "$group:spine-tool-base:$version"
const val pluginBase = "$group:spine-plugin-base:$version"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024, TeamDev. All rights reserved.
* Copyright 2025, 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 @@ -36,7 +36,7 @@ object Validation {
/**
* The version of the Validation library artifacts.
*/
const val version = "2.0.0-SNAPSHOT.182"
const val version = "2.0.0-SNAPSHOT.192"

const val group = "io.spine.validation"
private const val prefix = "spine-validation"
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/io/spine/dependency/test/JUnit.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024, TeamDev. All rights reserved.
* Copyright 2025, 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
Loading
Loading