Skip to content

Commit 9ba0136

Browse files
Merge pull request #162 from SpineEventEngine/bump-protodata-etc
2 parents 1b1aa7d + e45bfb1 commit 9ba0136

File tree

14 files changed

+131
-87
lines changed

14 files changed

+131
-87
lines changed

.idea/inspectionProfiles/Project_Default.xml

+12-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/*
2+
* Copyright 2024, TeamDev. All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Redistribution and use in source and/or binary forms, with or without
11+
* modification, must retain the above copyright notice and the following
12+
* disclaimer.
13+
*
14+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
15+
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
16+
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
17+
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
18+
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
19+
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
20+
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21+
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22+
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25+
*/
26+
27+
import io.spine.dependency.lib.Protobuf
28+
import io.spine.gradle.protobuf.setup
29+
30+
plugins {
31+
id("java-library")
32+
id("com.google.protobuf")
33+
}
34+
35+
36+
// For generating test fixtures. See `src/test/proto`.
37+
protobuf {
38+
configurations.excludeProtobufLite()
39+
protoc {
40+
artifact = Protobuf.compiler
41+
}
42+
generateProtoTasks.all().configureEach {
43+
setup()
44+
}
45+
}

buildSrc/src/main/kotlin/io/spine/dependency/local/ArtifactVersion.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ object ArtifactVersion {
3737
*
3838
* @see <a href="https://github.com/SpineEventEngine/base">spine-base</a>
3939
*/
40-
const val base = "2.0.0-SNAPSHOT.217"
41-
const val baseForBuildScript = "2.0.0-SNAPSHOT.217"
40+
const val base = "2.0.0-SNAPSHOT.220"
41+
const val baseForBuildScript = "2.0.0-SNAPSHOT.220"
4242

4343
/**
4444
* The version of [Spine.reflect].

buildSrc/src/main/kotlin/io/spine/dependency/local/CoreJava.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ package io.spine.dependency.local
3434
@Suppress("ConstPropertyName", "unused")
3535
object CoreJava {
3636
const val group = Spine.group
37-
const val version = "2.0.0-SNAPSHOT.177"
37+
const val version = "2.0.0-SNAPSHOT.182"
3838
const val core = "$group:spine-core:$version"
3939
const val client = "$group:spine-client:$version"
4040
const val server = "$group:spine-server:$version"

buildSrc/src/main/kotlin/io/spine/dependency/local/McJava.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ object McJava {
4242
/**
4343
* The version used to in the build classpath.
4444
*/
45-
const val dogfoodingVersion = "2.0.0-SNAPSHOT.254"
45+
const val dogfoodingVersion = "2.0.0-SNAPSHOT.257"
4646

4747
/**
4848
* The version to be used for integration tests.
4949
*/
50-
const val version = "2.0.0-SNAPSHOT.256"
50+
const val version = "2.0.0-SNAPSHOT.257"
5151

5252
/**
5353
* The ID of the Gradle plugin.

buildSrc/src/main/kotlin/io/spine/dependency/local/ProtoData.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ object ProtoData {
7373
* The version of ProtoData dependencies.
7474
*/
7575
val version: String
76-
private const val fallbackVersion = "0.69.0"
76+
private const val fallbackVersion = "0.69.1"
7777

7878
/**
7979
* The distinct version of ProtoData used by other build tools.
@@ -82,7 +82,7 @@ object ProtoData {
8282
* transitional dependencies, this is the version used to build the project itself.
8383
*/
8484
val dogfoodingVersion: String
85-
private const val fallbackDfVersion = "0.67.0"
85+
private const val fallbackDfVersion = "0.69.1"
8686

8787
/**
8888
* The artifact for the ProtoData Gradle plugin.

buildSrc/src/main/kotlin/io/spine/dependency/local/Validation.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ object Validation {
3636
/**
3737
* The version of the Validation library artifacts.
3838
*/
39-
const val version = "2.0.0-SNAPSHOT.171"
39+
const val version = "2.0.0-SNAPSHOT.174"
4040

4141
const val group = "io.spine.validation"
4242
private const val prefix = "spine-validation"

buildSrc/src/main/kotlin/io/spine/gradle/protobuf/ProtoTaskExtensions.kt

+1
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ val Project.generatedSourceProtoDir: Path
352352
* IDEA should only see the sources generated by ProtoData as
353353
* we define in [GenerateProtoTask.excludeProtocOutput].
354354
*/
355+
@Suppress("unused")
355356
fun Project.configureIdea() {
356357

357358
fun filterSources(sources: Set<File>, excludeDir: File): Set<File> =

0 commit comments

Comments
 (0)