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

New local dependencies #523

Merged
merged 6 commits into from
Oct 27, 2024
Merged
Show file tree
Hide file tree
Changes from 3 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
6 changes: 3 additions & 3 deletions buildSrc/src/main/kotlin/BuildExtensions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ import io.spine.internal.dependency.GradleDoctor
import io.spine.internal.dependency.Kotest
import io.spine.internal.dependency.Kover
import io.spine.internal.dependency.Ksp
import io.spine.internal.dependency.McJava
import io.spine.internal.dependency.ProtoData
import io.spine.internal.dependency.ProtoTap
import io.spine.internal.dependency.Protobuf
import io.spine.internal.dependency.spine.McJava
import io.spine.internal.dependency.spine.ProtoData
import io.spine.internal.dependency.spine.ProtoTap
import io.spine.internal.gradle.standardToSpineSdk
import org.gradle.api.Project
import org.gradle.api.Task
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/DependencyResolution.kt
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ import io.spine.internal.dependency.OpenTest4J
import io.spine.internal.dependency.Plexus
import io.spine.internal.dependency.Protobuf
import io.spine.internal.dependency.Slf4J
import io.spine.internal.dependency.Spine
import io.spine.internal.dependency.Truth
import io.spine.internal.dependency.spine.Spine
import org.gradle.api.NamedDomainObjectContainer
import org.gradle.api.Project
import org.gradle.api.artifacts.Configuration
Expand Down
191 changes: 0 additions & 191 deletions buildSrc/src/main/kotlin/io/spine/internal/dependency/Spine.kt

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
/*
* Copyright 2024, 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.internal.dependency.spine

/**
* Versions for published Spine SDK artifacts.
*/
@Suppress("ConstPropertyName")
object ArtifactVersion {

/**
* The version of [Spine.base].
*
* @see <a href="https://github.com/SpineEventEngine/base">spine-base</a>
*/
const val base = "2.0.0-SNAPSHOT.215"
const val baseForBuildScript = "2.0.0-SNAPSHOT.215"

/**
* The version of [Spine.reflect].
*
* @see <a href="https://github.com/SpineEventEngine/reflect">spine-reflect</a>
*/
const val reflect = "2.0.0-SNAPSHOT.190"

/**
* The version of [Logging].
*/
@Deprecated(message = "Please use `Logging.version`.", ReplaceWith("Logging.version"))
const val logging = Logging.version

/**
* The version of [Spine.testlib].
*
* @see <a href="https://github.com/SpineEventEngine/testlib">spine-testlib</a>
*/
const val testlib = "2.0.0-SNAPSHOT.184"

/**
* The version of `core-java`.
*/
@Deprecated(message = "Please use `CoreJava.version`.", ReplaceWith("CoreJava.version"))
const val core = CoreJava.version

/**
* The version of [Spine.modelCompiler].
*
* @see <a href="https://github.com/SpineEventEngine/model-compiler">spine-model-compiler</a>
*/
const val mc = "2.0.0-SNAPSHOT.133"

/**
* The version of [Spine.baseTypes].
*
* @see <a href="https://github.com/SpineEventEngine/base-types">spine-base-types</a>
*/
const val baseTypes = "2.0.0-SNAPSHOT.126"

/**
* The version of [Spine.time].
*
* @see <a href="https://github.com/SpineEventEngine/time">spine-time</a>
*/
const val time = "2.0.0-SNAPSHOT.135"

/**
* The version of [Spine.change].
*
* @see <a href="https://github.com/SpineEventEngine/change">spine-change</a>
*/
const val change = "2.0.0-SNAPSHOT.118"

/**
* The version of [Spine.text].
*
* @see <a href="https://github.com/SpineEventEngine/text">spine-text</a>
*/
const val text = "2.0.0-SNAPSHOT.6"

/**
* The version of [Spine.toolBase].
*
* @see <a href="https://github.com/SpineEventEngine/tool-base">spine-tool-base</a>
*/
const val toolBase = ToolBase.version

/**
* The version of [Spine.javadocFilter].
*
* @see <a href="https://github.com/SpineEventEngine/doc-tools">spine-javadoc-tools</a>
*/
const val javadocTools = "2.0.0-SNAPSHOT.75"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/*
* Copyright 2024, 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.internal.dependency.spine

/**
* Dependencies on `core-java` modules.
*
* See [`SpineEventEngine/core-java`](https://github.com/SpineEventEngine/core-java/).
*/
@Suppress("ConstPropertyName", "unused")
object CoreJava {
const val group = Spine.group
const val version = "2.0.0-SNAPSHOT.177"
const val core = "$group:spine-core:$version"
const val client = "$group:spine-client:$version"
const val server = "$group:spine-server:$version"
const val testUtilServer = "${Spine.toolsGroup}:spine-testutil-server:$version"
}
Loading
Loading