Skip to content

Commit 1a4a5d7

Browse files
authored
Add tags for compiler properties (GoogleCloudPlatform#299)
1. tags for compiler properties 2. gradle comment
1 parent 3f77770 commit 1a4a5d7

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

appengine/helloworld-new-plugins/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ buildscript {
1111
repositories {
1212
maven {
1313
url 'https://maven-central.storage.googleapis.com' // Google's mirror of Maven Central
14-
// url 'https://oss.sonatype.org/content/repositories/snapshots' // SNAPSHOT Reposiotry
14+
// url 'https://oss.sonatype.org/content/repositories/snapshots' // SNAPSHOT Reposiotry (if needed)
1515
}
1616
jcenter()
1717
mavenCentral()

appengine/helloworld-new-plugins/pom.xml

+8-4
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,20 @@ Copyright 2015 Google Inc. All Rights Reserved.
2121
<groupId>com.example.appengine</groupId>
2222
<artifactId>appengine-helloworld-newplugins</artifactId>
2323

24-
<properties>
25-
<maven.compiler.target>1.7</maven.compiler.target>
26-
<maven.compiler.source>1.7</maven.compiler.source>
27-
</properties>
24+
<!-- [START compiler] -->
25+
<properties> <!-- App Engine Standard currently requires Java 7 -->
26+
<maven.compiler.target>1.7</maven.compiler.target>
27+
<maven.compiler.source>1.7</maven.compiler.source>
28+
</properties>
29+
<!-- [END compiler] -->
2830

2931
<parent>
3032
<groupId>com.google.cloud</groupId>
3133
<artifactId>doc-samples</artifactId>
3234
<version>1.0.0</version>
3335
<relativePath>../..</relativePath>
3436
</parent>
37+
3538
<dependencies>
3639
<dependency>
3740
<groupId>javax.servlet</groupId>
@@ -40,6 +43,7 @@ Copyright 2015 Google Inc. All Rights Reserved.
4043
<scope>provided</scope>
4144
</dependency>
4245
</dependencies>
46+
4347
<build>
4448
<!-- for hot reload of the web application -->
4549
<outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>

0 commit comments

Comments
 (0)