Skip to content

Commit b0c9d5e

Browse files
author
yevhenii-nadtochii
committed
Take the latest ProtoData
1 parent 8e2c3cc commit b0c9d5e

File tree

6 files changed

+23
-28
lines changed

6 files changed

+23
-28
lines changed

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

Lines changed: 2 additions & 2 deletions
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.91.1"
76+
private const val fallbackVersion = "0.91.2"
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.91.1"
85+
private const val fallbackDfVersion = "0.91.2"
8686

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

dependencies.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@
848848

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

851-
This report was generated on **Tue Jan 21 11:43:50 CET 2025** 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).
851+
This report was generated on **Tue Jan 21 11:56:56 CET 2025** 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).
852852

853853

854854

@@ -1448,7 +1448,7 @@ This report was generated on **Tue Jan 21 11:43:50 CET 2025** using [Gradle-Lice
14481448

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

1451-
This report was generated on **Tue Jan 21 11:43:50 CET 2025** 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).
1451+
This report was generated on **Tue Jan 21 11:56:56 CET 2025** 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).
14521452

14531453

14541454

@@ -2110,7 +2110,7 @@ This report was generated on **Tue Jan 21 11:43:50 CET 2025** using [Gradle-Lice
21102110

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

2113-
This report was generated on **Tue Jan 21 11:43:50 CET 2025** 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).
2113+
This report was generated on **Tue Jan 21 11:56:56 CET 2025** 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).
21142114

21152115

21162116

@@ -3031,7 +3031,7 @@ This report was generated on **Tue Jan 21 11:43:50 CET 2025** using [Gradle-Lice
30313031

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

3034-
This report was generated on **Tue Jan 21 11:43:51 CET 2025** 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).
3034+
This report was generated on **Tue Jan 21 11:56:57 CET 2025** 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).
30353035

30363036

30373037

@@ -3895,7 +3895,7 @@ This report was generated on **Tue Jan 21 11:43:51 CET 2025** using [Gradle-Lice
38953895

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

3898-
This report was generated on **Tue Jan 21 11:43:51 CET 2025** 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).
3898+
This report was generated on **Tue Jan 21 11:56:57 CET 2025** 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).
38993899

39003900

39013901

@@ -4785,7 +4785,7 @@ This report was generated on **Tue Jan 21 11:43:51 CET 2025** using [Gradle-Lice
47854785

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

4788-
This report was generated on **Tue Jan 21 11:43:51 CET 2025** 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).
4788+
This report was generated on **Tue Jan 21 11:56:57 CET 2025** 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).
47894789

47904790

47914791

@@ -5657,7 +5657,7 @@ This report was generated on **Tue Jan 21 11:43:51 CET 2025** using [Gradle-Lice
56575657

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

5660-
This report was generated on **Tue Jan 21 11:43:51 CET 2025** 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).
5660+
This report was generated on **Tue Jan 21 11:56:58 CET 2025** 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).
56615661

56625662

56635663

@@ -6410,7 +6410,7 @@ This report was generated on **Tue Jan 21 11:43:51 CET 2025** using [Gradle-Lice
64106410

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

6413-
This report was generated on **Tue Jan 21 11:43:52 CET 2025** 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).
6413+
This report was generated on **Tue Jan 21 11:56:58 CET 2025** 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).
64146414

64156415

64166416

@@ -7308,7 +7308,7 @@ This report was generated on **Tue Jan 21 11:43:52 CET 2025** using [Gradle-Lice
73087308

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

7311-
This report was generated on **Tue Jan 21 11:43:52 CET 2025** 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).
7311+
This report was generated on **Tue Jan 21 11:56:58 CET 2025** 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).
73127312

73137313

73147314

@@ -8064,7 +8064,7 @@ This report was generated on **Tue Jan 21 11:43:52 CET 2025** using [Gradle-Lice
80648064

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

8067-
This report was generated on **Tue Jan 21 11:43:52 CET 2025** 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).
8067+
This report was generated on **Tue Jan 21 11:56:58 CET 2025** 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).
80688068

80698069

80708070

@@ -8824,7 +8824,7 @@ This report was generated on **Tue Jan 21 11:43:52 CET 2025** using [Gradle-Lice
88248824

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

8827-
This report was generated on **Tue Jan 21 11:43:52 CET 2025** 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).
8827+
This report was generated on **Tue Jan 21 11:56:58 CET 2025** 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).
88288828

88298829

88308830

@@ -9575,7 +9575,7 @@ This report was generated on **Tue Jan 21 11:43:52 CET 2025** using [Gradle-Lice
95759575

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

9578-
This report was generated on **Tue Jan 21 11:43:53 CET 2025** 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).
9578+
This report was generated on **Tue Jan 21 11:56:59 CET 2025** 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).
95799579

95809580

95819581

@@ -10449,7 +10449,7 @@ This report was generated on **Tue Jan 21 11:43:53 CET 2025** using [Gradle-Lice
1044910449

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

10452-
This report was generated on **Tue Jan 21 11:43:53 CET 2025** 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).
10452+
This report was generated on **Tue Jan 21 11:56:59 CET 2025** 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).
1045310453

1045410454

1045510455

@@ -11323,4 +11323,4 @@ This report was generated on **Tue Jan 21 11:43:53 CET 2025** using [Gradle-Lice
1132311323

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

11326-
This report was generated on **Tue Jan 21 11:43:53 CET 2025** 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).
11326+
This report was generated on **Tue Jan 21 11:56:59 CET 2025** 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).

java/src/main/kotlin/io/spine/validation/java/ImplementValidatingBuilder.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ internal class ImplementValidatingBuilder : JavaRenderer(), WithLogging {
5757
val types = findMessageTypes()
5858
types.forEach {
5959
val type = it.message
60-
val messageClass = type.javaClassName(typeSystem!!)
60+
val messageClass = type.javaClassName(typeSystem)
6161
val file = sources.javaFileOf(type)
6262
execute {
6363
file.extendBuilderClass(messageClass, ::logError)

java/src/main/kotlin/io/spine/validation/java/JavaValidationRenderer.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ import io.spine.protodata.java.lines
3535
import io.spine.protodata.java.render.JavaRenderer
3636
import io.spine.protodata.render.SourceFile
3737
import io.spine.protodata.render.SourceFileSet
38-
import io.spine.protodata.type.TypeSystem
3938
import io.spine.tools.code.Java
4039
import io.spine.tools.java.codeBlock
4140
import io.spine.validate.NonValidated
@@ -75,8 +74,6 @@ import java.util.*
7574
*/
7675
public class JavaValidationRenderer : JavaRenderer() {
7776

78-
public override val typeSystem: TypeSystem by lazy { super.typeSystem!! }
79-
8077
override fun render(sources: SourceFileSet) {
8178
// We receive `grpc` and `kotlin` output sources roots here as well.
8279
// As for now, we modify only `java` sources.

java/src/main/kotlin/io/spine/validation/java/setonce/SetOnceValidationRenderer.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ import io.spine.validation.java.setonce.SetOnceNumberField.Companion.SupportedNu
5555
*/
5656
internal class SetOnceValidationRenderer : JavaRenderer() {
5757

58-
override val typeSystem by lazy { super.typeSystem!! }
59-
6058
override fun render(sources: SourceFileSet) {
6159
// We receive `grpc` and `kotlin` output sources roots here as well.
6260
// As for now, we modify only `java` sources.

pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ all modules and does not describe the project structure per-subproject.
7474
<dependency>
7575
<groupId>io.spine.protodata</groupId>
7676
<artifactId>protodata-backend</artifactId>
77-
<version>0.91.1</version>
77+
<version>0.91.2</version>
7878
<scope>compile</scope>
7979
</dependency>
8080
<dependency>
8181
<groupId>io.spine.protodata</groupId>
8282
<artifactId>protodata-java</artifactId>
83-
<version>0.91.1</version>
83+
<version>0.91.2</version>
8484
<scope>compile</scope>
8585
</dependency>
8686
<dependency>
@@ -134,13 +134,13 @@ all modules and does not describe the project structure per-subproject.
134134
<dependency>
135135
<groupId>io.spine.protodata</groupId>
136136
<artifactId>protodata-api</artifactId>
137-
<version>0.91.1</version>
137+
<version>0.91.2</version>
138138
<scope>test</scope>
139139
</dependency>
140140
<dependency>
141141
<groupId>io.spine.protodata</groupId>
142142
<artifactId>protodata-testlib</artifactId>
143-
<version>0.91.1</version>
143+
<version>0.91.2</version>
144144
<scope>test</scope>
145145
</dependency>
146146
<dependency>
@@ -239,12 +239,12 @@ all modules and does not describe the project structure per-subproject.
239239
<dependency>
240240
<groupId>io.spine.protodata</groupId>
241241
<artifactId>protodata-fat-cli</artifactId>
242-
<version>0.91.1</version>
242+
<version>0.91.2</version>
243243
</dependency>
244244
<dependency>
245245
<groupId>io.spine.protodata</groupId>
246246
<artifactId>protodata-protoc</artifactId>
247-
<version>0.91.1</version>
247+
<version>0.91.2</version>
248248
</dependency>
249249
<dependency>
250250
<groupId>io.spine.tools</groupId>

0 commit comments

Comments
 (0)