File tree 14 files changed +70
-59
lines changed
example-gcp-observability
14 files changed +70
-59
lines changed Original file line number Diff line number Diff line change @@ -78,9 +78,11 @@ def createStartScripts(String mainClassName) {
78
78
outputDir = new File (project. buildDir, ' tmp/scripts/' + name)
79
79
classpath = startScripts. classpath
80
80
}
81
- applicationDistribution. into(' bin' ) {
82
- from(newTask)
83
- fileMode = 0755
81
+ application {
82
+ applicationDistribution. into(' bin' ) {
83
+ from(newTask)
84
+ fileMode = 0755
85
+ }
84
86
}
85
87
}
86
88
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
// Provide convenience executables for trying out the examples.
3
3
id ' application'
4
- // ASSUMES GRADLE 5.6 OR HIGHER. Use plugin version 0.8.10 with earlier gradle versions
5
- id ' com.google.protobuf' version ' 0.8.17'
4
+ id ' com.google.protobuf' version ' 0.9.4'
6
5
// Generate IntelliJ IDEA's .idea & .iml project files
7
6
id ' idea'
8
7
}
@@ -71,8 +70,10 @@ task helloWorldAltsClient(type: CreateStartScripts) {
71
70
classpath = startScripts. classpath
72
71
}
73
72
74
- applicationDistribution. into(' bin' ) {
75
- from(helloWorldAltsServer)
76
- from(helloWorldAltsClient)
77
- fileMode = 0755
73
+ application {
74
+ applicationDistribution. into(' bin' ) {
75
+ from(helloWorldAltsServer)
76
+ from(helloWorldAltsClient)
77
+ fileMode = 0755
78
+ }
78
79
}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ plugins {
2
2
id ' application' // Provide convenience executables for trying out the examples.
3
3
id ' java'
4
4
5
- id " com.google.protobuf" version " 0.8.17 "
5
+ id " com.google.protobuf" version " 0.9.4 "
6
6
7
7
// Generate IntelliJ IDEA's .idea & .iml project files
8
8
id ' idea'
@@ -71,8 +71,10 @@ task HostnameDebuggableServer(type: CreateStartScripts) {
71
71
classpath = startScripts. classpath
72
72
}
73
73
74
- applicationDistribution. into(' bin' ) {
75
- from(HelloWorldDebuggableClient )
76
- from(HostnameDebuggableServer )
77
- fileMode = 0755
74
+ application {
75
+ applicationDistribution. into(' bin' ) {
76
+ from(HelloWorldDebuggableClient )
77
+ from(HostnameDebuggableServer )
78
+ fileMode = 0755
79
+ }
78
80
}
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
// Provide convenience executables for trying out the examples.
3
3
id ' application'
4
- // ASSUMES GRADLE 5.6 OR HIGHER. Use plugin version 0.8.10 with earlier gradle versions
5
- id ' com.google.protobuf' version ' 0.8.17'
4
+ id ' com.google.protobuf' version ' 0.9.4'
6
5
// Generate IntelliJ IDEA's .idea & .iml project files
7
6
id ' idea'
8
7
}
@@ -69,7 +68,9 @@ task googleAuthClient(type: CreateStartScripts) {
69
68
classpath = startScripts. classpath
70
69
}
71
70
72
- applicationDistribution. into(' bin' ) {
73
- from(googleAuthClient)
74
- fileMode = 0755
71
+ application {
72
+ applicationDistribution. into(' bin' ) {
73
+ from(googleAuthClient)
74
+ fileMode = 0755
75
+ }
75
76
}
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
// Provide convenience executables for trying out the examples.
3
3
id ' application'
4
- // ASSUMES GRADLE 5.6 OR HIGHER. Use plugin version 0.8.10 with earlier gradle versions
5
- id ' com.google.protobuf' version ' 0.8.17'
4
+ id ' com.google.protobuf' version ' 0.9.4'
6
5
// Generate IntelliJ IDEA's .idea & .iml project files
7
6
id ' idea'
8
7
id ' java'
@@ -63,8 +62,10 @@ task ObservabilityHelloWorldClient(type: CreateStartScripts) {
63
62
classpath = startScripts. classpath
64
63
}
65
64
66
- applicationDistribution. into(' bin' ) {
67
- from(ObservabilityHelloWorldServer )
68
- from(ObservabilityHelloWorldClient )
69
- fileMode = 0755
65
+ application {
66
+ applicationDistribution. into(' bin' ) {
67
+ from(ObservabilityHelloWorldServer )
68
+ from(ObservabilityHelloWorldClient )
69
+ fileMode = 0755
70
+ }
70
71
}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ plugins {
2
2
id ' application' // Provide convenience executables for trying out the examples.
3
3
id ' java'
4
4
5
- id " com.google.protobuf" version " 0.8.17 "
5
+ id " com.google.protobuf" version " 0.9.4 "
6
6
id ' com.google.cloud.tools.jib' version ' 3.1.4' // For releasing to Docker Hub
7
7
}
8
8
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
// Provide convenience executables for trying out the examples.
3
3
id ' application'
4
- // ASSUMES GRADLE 5.6 OR HIGHER. Use plugin version 0.8.10 with earlier gradle versions
5
- id ' com.google.protobuf' version ' 0.8.17'
4
+ id ' com.google.protobuf' version ' 0.9.4'
6
5
// Generate IntelliJ IDEA's .idea & .iml project files
7
6
id ' idea'
8
7
}
@@ -79,8 +78,10 @@ task hellowWorldJwtAuthClient(type: CreateStartScripts) {
79
78
classpath = startScripts. classpath
80
79
}
81
80
82
- applicationDistribution. into(' bin' ) {
83
- from(hellowWorldJwtAuthServer)
84
- from(hellowWorldJwtAuthClient)
85
- fileMode = 0755
81
+ application {
82
+ applicationDistribution. into(' bin' ) {
83
+ from(hellowWorldJwtAuthServer)
84
+ from(hellowWorldJwtAuthClient)
85
+ fileMode = 0755
86
+ }
86
87
}
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id ' application' // Provide convenience executables for trying out the examples.
3
- // ASSUMES GRADLE 5.6 OR HIGHER. Use plugin version 0.8.10 with earlier gradle versions
4
- id ' com.google.protobuf' version ' 0.8.17'
3
+ id ' com.google.protobuf' version ' 0.9.4'
5
4
// Generate IntelliJ IDEA's .idea & .iml project files
6
5
id ' idea'
7
6
id ' java'
@@ -57,8 +56,10 @@ task CustomBackendMetricsServer(type: CreateStartScripts) {
57
56
classpath = startScripts. classpath
58
57
}
59
58
60
- applicationDistribution. into(' bin' ) {
61
- from(CustomBackendMetricsClient )
62
- from(CustomBackendMetricsServer )
63
- fileMode = 0755
59
+ application {
60
+ applicationDistribution. into(' bin' ) {
61
+ from(CustomBackendMetricsClient )
62
+ from(CustomBackendMetricsServer )
63
+ fileMode = 0755
64
+ }
64
65
}
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id ' application' // Provide convenience executables for trying out the examples.
3
- // ASSUMES GRADLE 5.6 OR HIGHER. Use plugin version 0.8.10 with earlier gradle versions
4
- id ' com.google.protobuf' version ' 0.8.17'
3
+ id ' com.google.protobuf' version ' 0.9.4'
5
4
// Generate IntelliJ IDEA's .idea & .iml project files
6
5
id ' idea'
7
6
id ' java'
@@ -50,7 +49,9 @@ task ReflectionServer(type: CreateStartScripts) {
50
49
classpath = startScripts. classpath
51
50
}
52
51
53
- applicationDistribution. into(' bin' ) {
54
- from(ReflectionServer )
55
- fileMode = 0755
52
+ application {
53
+ applicationDistribution. into(' bin' ) {
54
+ from(ReflectionServer )
55
+ fileMode = 0755
56
+ }
56
57
}
Original file line number Diff line number Diff line change 1
1
plugins {
2
- // ASSUMES GRADLE 5.6 OR HIGHER. Use plugin version 0.8.10 with earlier gradle versions
3
- id ' com.google.protobuf' version ' 0.8.17'
2
+ id ' com.google.protobuf' version ' 0.9.4'
4
3
// Generate IntelliJ IDEA's .idea & .iml project files
5
4
id ' idea'
6
5
id ' war'
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
// Provide convenience executables for trying out the examples.
3
3
id ' application'
4
- // ASSUMES GRADLE 5.6 OR HIGHER. Use plugin version 0.8.10 with earlier gradle versions
5
- id ' com.google.protobuf' version ' 0.8.17'
4
+ id ' com.google.protobuf' version ' 0.9.4'
6
5
// Generate IntelliJ IDEA's .idea & .iml project files
7
6
id ' idea'
8
7
}
@@ -71,8 +70,10 @@ task helloWorldTlsClient(type: CreateStartScripts) {
71
70
classpath = startScripts. classpath
72
71
}
73
72
74
- applicationDistribution. into(' bin' ) {
75
- from(helloWorldTlsServer)
76
- from(helloWorldTlsClient)
77
- fileMode = 0755
73
+ application {
74
+ applicationDistribution. into(' bin' ) {
75
+ from(helloWorldTlsServer)
76
+ from(helloWorldTlsClient)
77
+ fileMode = 0755
78
+ }
78
79
}
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id ' application' // Provide convenience executables for trying out the examples.
3
- // ASSUMES GRADLE 5.6 OR HIGHER. Use plugin version 0.8.10 with earlier gradle versions
4
- id ' com.google.protobuf' version ' 0.8.17'
3
+ id ' com.google.protobuf' version ' 0.9.4'
5
4
// Generate IntelliJ IDEA's .idea & .iml project files
6
5
id ' idea'
7
6
id ' java'
@@ -63,8 +62,10 @@ task xdsHelloWorldServer(type: CreateStartScripts) {
63
62
classpath = startScripts. classpath
64
63
}
65
64
66
- applicationDistribution. into(' bin' ) {
67
- from(xdsHelloWorldClient)
68
- from(xdsHelloWorldServer)
69
- fileMode = 0755
65
+ application {
66
+ applicationDistribution. into(' bin' ) {
67
+ from(xdsHelloWorldClient)
68
+ from(xdsHelloWorldServer)
69
+ fileMode = 0755
70
+ }
70
71
}
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-7.6 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.3 -bin.zip
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-8.2.1 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.3 -bin.zip
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments