File tree Expand file tree Collapse file tree 3 files changed +14
-4
lines changed
src/org/jlab/coda/xmsg/data Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 72
72
withSourcesJar()
73
73
withJavadocJar()
74
74
75
- sourceCompatibility = JavaVersion . VERSION_1_8
76
- targetCompatibility = JavaVersion . VERSION_1_8
75
+ sourceCompatibility = JavaVersion . VERSION_17
76
+ targetCompatibility = JavaVersion . VERSION_17
77
77
}
78
78
79
79
ext {
@@ -87,6 +87,15 @@ protobuf {
87
87
path = protocPath
88
88
}
89
89
}
90
+ generateProtoTasks {
91
+ all(). each { task ->
92
+ task. builtins {
93
+ java {
94
+ option ' lite'
95
+ }
96
+ }
97
+ }
98
+ }
90
99
}
91
100
92
101
tasks. withType(JavaCompile ) {
Original file line number Diff line number Diff line change 20
20
* Department of Experimental Nuclear Physics, Jefferson Lab.
21
21
*/
22
22
23
+ syntax = "proto2" ;
23
24
option optimize_for = SPEED ;
24
25
option java_outer_classname = "xMsgD" ;
25
26
@@ -52,7 +53,7 @@ message xMsgData {
52
53
message xMsgPayload {
53
54
54
55
message Item {
55
- required string name = 1 ; // payload name
56
+ required string name = 1 ; // payload name
56
57
required xMsgData data = 2 ; // data
57
58
}
58
59
Original file line number Diff line number Diff line change 20
20
* Department of Experimental Nuclear Physics, Jefferson Lab.
21
21
*/
22
22
23
+ syntax = "proto2" ;
23
24
option optimize_for = SPEED ;
24
-
25
25
option java_outer_classname = "xMsgM" ;
26
26
27
27
package org.jlab.coda.xmsg.data ;
You can’t perform that action at this time.
0 commit comments