8000 Updated endpoints framework plugin versions and added hostname param · ruudhaya/java-docs-samples@0e2f3cd · GitHub
[go: up one dir, main page]

Skip to content

Commit 0e2f3cd

Browse files
author
Frank Natividad
committed
Updated endpoints framework plugin versions and added hostname param
1 parent 64f067f commit 0e2f3cd

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

appengine/endpoints-frameworks-v2/migration-example/build.gradle

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ buildscript { // Configuration for building
2020
}
2121
dependencies {
2222
// App Engine Gradle plugin
23-
classpath 'com.google.cloud.tools:appengine-gradle-plugin:1.3.0'
23+
classpath 'com.google.cloud.tools:appengine-gradle-plugin:1.3.1'
2424

2525
// Endpoints Frameworks Gradle plugin
26-
classpath 'com.google.cloud.tools:endpoints-framework-gradle-plugin:1.0.0-beta9'
26+
classpath 'com.google.cloud.tools:endpoints-framework-gradle-plugin:1.0.0'
2727
}
2828
}
2929
// [END buildscript]
@@ -71,11 +71,12 @@ appengine { // App Engine tasks configuration
7171
}
7272
}
7373

74-
/* [START endpoints-server]
74+
// [START endpoints-server]
7575
endpointsServer {
7676
// Endpoints Framework Plugin server-side configuration
77+
hostname = "GOOGLE_CLOUD_PROJECT.appspot.com"
7778
}
78-
[END endpoints-server] */
79+
// [END endpoints-server]
7980

8081
group = 'com.example.helloendpoints' // Generated output GroupId
8182
version = '1' // Version in generated output

appengine/endpoints-frameworks-v2/migration-example/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,10 @@ limitations under the License.
9595
<plugin>
9696
<groupId>com.google.cloud.tools</groupId>
9797
<artifactId>endpoints-framework-maven-plugin</artifactId>
98-
<version>1.0.0-beta5</version>
98+
<version>1.0.0</version>
9999
<configuration>
100100
<!-- plugin configuration -->
101+
<hostname>GOOGLE_CLOUD_PROJECT.appspot.com</hostname>
101102
</configuration>
102103
</plugin>
103104
<!-- [END endpoints-frameworks-plugin] -->

0 commit comments

Comments
 (0)
0