Skip to content

Commit a1ac15e

Browse files
Merge pull request #158 from SpineEventEngine/pump-protodata
2 parents 93ee57e + 1672855 commit a1ac15e

File tree

11 files changed

+78
-74
lines changed

11 files changed

+78
-74
lines changed

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.248"
45+
const val dogfoodingVersion = "2.0.0-SNAPSHOT.252"
4646

4747
/**
4848
* The version to be used for integration tests.
4949
*/
50-
const val version = "2.0.0-SNAPSHOT.251"
50+
const val version = "2.0.0-SNAPSHOT.252"
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.66.0"
76+
private const val fallbackVersion = "0.66.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.61.8"
85+
private const val fallbackDfVersion = "0.66.0"
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.160"
39+
const val version = "2.0.0-SNAPSHOT.170"
4040

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

dependencies.md

+30-30
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
# Dependencies of `io.spine.validation:spine-validation-java:2.0.0-SNAPSHOT.170`
3+
# Dependencies of `io.spine.validation:spine-validation-java:2.0.0-SNAPSHOT.171`
44

55
## Runtime
66
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.15.3.
@@ -852,12 +852,12 @@
852852

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

855-
This report was generated on **Sun Nov 10 15:13:38 WET 2024** 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).
855+
This report was generated on **Sun Nov 10 18:50:20 WET 2024** 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).
856856

857857

858858

859859

860-
# Dependencies of `io.spine.validation:spine-validation-java-bundle:2.0.0-SNAPSHOT.170`
860+
# Dependencies of `io.spine.validation:spine-validation-java-bundle:2.0.0-SNAPSHOT.171`
861861

862862
## Runtime
863863
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.15.3.
@@ -1709,12 +1709,12 @@ This report was generated on **Sun Nov 10 15:13:38 WET 2024** using [Gradle-Lice
17091709

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

1712-
This report was generated on **Sun Nov 10 15:13:39 WET 2024** 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).
1712+
This report was generated on **Sun Nov 10 18:50:20 WET 2024** 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).
17131713

17141714

17151715

17161716

1717-
# Dependencies of `io.spine.validation:spine-validation-java-runtime:2.0.0-SNAPSHOT.170`
1717+
# Dependencies of `io.spine.validation:spine-validation-java-runtime:2.0.0-SNAPSHOT.171`
17181718

17191719
## Runtime
17201720
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -2396,12 +2396,12 @@ This report was generated on **Sun Nov 10 15:13:39 WET 2024** using [Gradle-Lice
23962396

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

2399-
This report was generated on **Sun Nov 10 15:13:39 WET 2024** 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).
2399+
This report was generated on **Sun Nov 10 18:50:20 WET 2024** 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).
24002400

24012401

24022402

24032403

2404-
# Dependencies of `io.spine.validation:spine-validation-java-runtime-bundle:2.0.0-SNAPSHOT.170`
2404+
# Dependencies of `io.spine.validation:spine-validation-java-runtime-bundle:2.0.0-SNAPSHOT.171`
24052405

24062406
## Runtime
24072407
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -3047,12 +3047,12 @@ This report was generated on **Sun Nov 10 15:13:39 WET 2024** using [Gradle-Lice
30473047

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

3050-
This report was generated on **Sun Nov 10 15:13:39 WET 2024** 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).
3050+
This report was generated on **Sun Nov 10 18:50:21 WET 2024** 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).
30513051

30523052

30533053

30543054

3055-
# Dependencies of `io.spine.validation:spine-validation-java-tests:2.0.0-SNAPSHOT.170`
3055+
# Dependencies of `io.spine.validation:spine-validation-java-tests:2.0.0-SNAPSHOT.171`
30563056

30573057
## Runtime
30583058
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.15.3.
@@ -3972,12 +3972,12 @@ This report was generated on **Sun Nov 10 15:13:39 WET 2024** using [Gradle-Lice
39723972

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

3975-
This report was generated on **Sun Nov 10 15:13:39 WET 2024** 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).
3975+
This report was generated on **Sun Nov 10 18:50:21 WET 2024** 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).
39763976

39773977

39783978

39793979

3980-
# Dependencies of `io.spine.validation:spine-validation-model:2.0.0-SNAPSHOT.170`
3980+
# Dependencies of `io.spine.validation:spine-validation-model:2.0.0-SNAPSHOT.171`
39813981

39823982
## Runtime
39833983
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.15.3.
@@ -4832,12 +4832,12 @@ This report was generated on **Sun Nov 10 15:13:39 WET 2024** using [Gradle-Lice
48324832

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

4835-
This report was generated on **Sun Nov 10 15:13:40 WET 2024** 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).
4835+
This report was generated on **Sun Nov 10 18:50:21 WET 2024** 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).
48364836

48374837

48384838

48394839

4840-
# Dependencies of `io.spine.validation:spine-validation-proto:2.0.0-SNAPSHOT.170`
4840+
# Dependencies of `io.spine.validation:spine-validation-proto:2.0.0-SNAPSHOT.171`
48414841

48424842
## Runtime
48434843
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.15.3.
@@ -5726,12 +5726,12 @@ This report was generated on **Sun Nov 10 15:13:40 WET 2024** using [Gradle-Lice
57265726

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

5729-
This report was generated on **Sun Nov 10 15:13:40 WET 2024** 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).
5729+
This report was generated on **Sun Nov 10 18:50:22 WET 2024** 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).
57305730

57315731

57325732

57335733

5734-
# Dependencies of `io.spine.validation:spine-validation-consumer:2.0.0-SNAPSHOT.170`
5734+
# Dependencies of `io.spine.validation:spine-validation-consumer:2.0.0-SNAPSHOT.171`
57355735

57365736
## Runtime
57375737
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.15.3.
@@ -6599,12 +6599,12 @@ This report was generated on **Sun Nov 10 15:13:40 WET 2024** using [Gradle-Lice
65996599

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

6602-
This report was generated on **Sun Nov 10 15:13:40 WET 2024** 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).
6602+
This report was generated on **Sun Nov 10 18:50:22 WET 2024** 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).
66036603

66046604

66056605

66066606

6607-
# Dependencies of `io.spine.validation:spine-validation-consumer-dependency:2.0.0-SNAPSHOT.170`
6607+
# Dependencies of `io.spine.validation:spine-validation-consumer-dependency:2.0.0-SNAPSHOT.171`
66086608

66096609
## Runtime
66106610
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -7352,12 +7352,12 @@ This report was generated on **Sun Nov 10 15:13:40 WET 2024** using [Gradle-Lice
73527352

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

7355-
This report was generated on **Sun Nov 10 15:13:41 WET 2024** 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).
7355+
This report was generated on **Sun Nov 10 18:50:22 WET 2024** 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).
73567356

73577357

73587358

73597359

7360-
# Dependencies of `io.spine.validation:spine-validation-extensions:2.0.0-SNAPSHOT.170`
7360+
# Dependencies of `io.spine.validation:spine-validation-extensions:2.0.0-SNAPSHOT.171`
73617361

73627362
## Runtime
73637363
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.15.3.
@@ -8254,12 +8254,12 @@ This report was generated on **Sun Nov 10 15:13:41 WET 2024** using [Gradle-Lice
82548254

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

8257-
This report was generated on **Sun Nov 10 15:13:41 WET 2024** 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).
8257+
This report was generated on **Sun Nov 10 18:50:22 WET 2024** 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).
82588258

82598259

82608260

82618261

8262-
# Dependencies of `io.spine.validation:spine-validation-runtime:2.0.0-SNAPSHOT.170`
8262+
# Dependencies of `io.spine.validation:spine-validation-runtime:2.0.0-SNAPSHOT.171`
82638263

82648264
## Runtime
82658265
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -9010,12 +9010,12 @@ This report was generated on **Sun Nov 10 15:13:41 WET 2024** using [Gradle-Lice
90109010

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

9013-
This report was generated on **Sun Nov 10 15:13:41 WET 2024** 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).
9013+
This report was generated on **Sun Nov 10 18:50:22 WET 2024** 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).
90149014

90159015

90169016

90179017

9018-
# Dependencies of `io.spine.validation:spine-validation-validating:2.0.0-SNAPSHOT.170`
9018+
# Dependencies of `io.spine.validation:spine-validation-validating:2.0.0-SNAPSHOT.171`
90199019

90209020
## Runtime
90219021
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -9770,12 +9770,12 @@ This report was generated on **Sun Nov 10 15:13:41 WET 2024** using [Gradle-Lice
97709770

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

9773-
This report was generated on **Sun Nov 10 15:13:41 WET 2024** 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).
9773+
This report was generated on **Sun Nov 10 18:50:23 WET 2024** 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).
97749774

97759775

97769776

97779777

9778-
# Dependencies of `io.spine.validation:spine-validation-vanilla:2.0.0-SNAPSHOT.170`
9778+
# Dependencies of `io.spine.validation:spine-validation-vanilla:2.0.0-SNAPSHOT.171`
97799779

97809780
## Runtime
97819781
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -10521,12 +10521,12 @@ This report was generated on **Sun Nov 10 15:13:41 WET 2024** using [Gradle-Lice
1052110521

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

10524-
This report was generated on **Sun Nov 10 15:13:41 WET 2024** 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).
10524+
This report was generated on **Sun Nov 10 18:50:23 WET 2024** 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).
1052510525

1052610526

1052710527

1052810528

10529-
# Dependencies of `io.spine.validation:spine-validation-configuration:2.0.0-SNAPSHOT.170`
10529+
# Dependencies of `io.spine.validation:spine-validation-configuration:2.0.0-SNAPSHOT.171`
1053010530

1053110531
## Runtime
1053210532
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.15.3.
@@ -11391,12 +11391,12 @@ This report was generated on **Sun Nov 10 15:13:41 WET 2024** using [Gradle-Lice
1139111391

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

11394-
This report was generated on **Sun Nov 10 15:13:42 WET 2024** 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).
11394+
This report was generated on **Sun Nov 10 18:50:23 WET 2024** 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).
1139511395

1139611396

1139711397

1139811398

11399-
# Dependencies of `io.spine.validation:spine-validation-context:2.0.0-SNAPSHOT.170`
11399+
# Dependencies of `io.spine.validation:spine-validation-context:2.0.0-SNAPSHOT.171`
1140011400

1140111401
## Runtime
1140211402
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.15.3.
@@ -12261,4 +12261,4 @@ This report was generated on **Sun Nov 10 15:13:42 WET 2024** using [Gradle-Lice
1226112261

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

12264-
This report was generated on **Sun Nov 10 15:13:42 WET 2024** 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).
12264+
This report was generated on **Sun Nov 10 18:50:23 WET 2024** 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/setonce/SetOnceEnumField.kt

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,19 @@ package io.spine.validation.java.setonce
2828

2929
import com.intellij.psi.PsiClass
3030
import io.spine.protodata.ast.Field
31+
import io.spine.protodata.type.TypeSystem
3132
import io.spine.tools.psi.java.method
32-
import io.spine.validation.java.MessageWithFile
3333

3434
/**
3535
* Renders Java code to support `(set_once)` option for the given enum [field].
3636
*
3737
* @param field The enum field that declared the option.
38-
* @param declaredIn The message that contains the [field].
38+
* @param typeSystem The type system to resolve types.
3939
*/
4040
internal class SetOnceEnumField(
4141
field: Field,
42-
declaredIn: MessageWithFile
43-
) : SetOnceJavaConstraints(field, declaredIn) {
42+
typeSystem: TypeSystem
43+
) : SetOnceJavaConstraints(field, typeSystem) {
4444

4545
init {
4646
check(field.type.isEnum) {

0 commit comments

Comments
 (0)