11// Copyright 2015 Google Inc. All Rights Reserved.
2- //
2+ //
33// Licensed under the Apache License, Version 2.0 (the "License");
44// you may not use this file except in compliance with the License.
55// You may obtain a copy of the License at
6- //
6+ //
77// http://www.apache.org/licenses/LICENSE-2.0
8- //
8+ //
99// Unless required by applicable law or agreed to in writing, software
1010// distributed under the License is distributed on an "AS IS" BASIS,
1111// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -23,15 +23,15 @@ buildscript { // Configuration for building
2323}
2424
2525repositories { // repositories for Jar's you access in your code
26- maven {
26+ maven {
2727 url ' https://maven-central.storage.googleapis.com' // Google's mirror of Maven Central
28- // url 'https://oss.sonatype.org/content/repositories/snapshots' // SNAPSHOT Reposiotry (if needed)
28+ // url 'https://oss.sonatype.org/content/repositories/snapshots' // SNAPSHOT Repository (if needed)
2929 }
3030 jcenter()
3131 mavenCentral()
3232}
3333
34- apply plugin : ' java' // standard Java tasks
34+ apply plugin : ' java' // standard Java tasks
3535apply plugin : ' war' // standard Web Archive plugin
3636apply plugin : ' com.google.cloud.tools.appengine' // App Engine tasks
3737
@@ -43,23 +43,21 @@ dependencies {
4343}
4444
4545// [START model]
46- model {
47- appengine { // App Engine tasks configuration
48- run { // local (dev_appserver) configuration (standard environments only)
49- port = 8080 // default
50- }
46+ appengine { // App Engine tasks configuration
47+ run { // local (dev_appserver) configuration (standard environments only)
48+ port = 8080 // default
49+ }
5150
52- deploy { // deploy configuration
53- stopPreviousVersion = true // default - stop the current version
54- promote = true // default - & make this the current version
55- }
51+ deploy { // deploy configuration
52+ stopPreviousVersion = true // default - stop the current version
53+ promote = true // default - & make this the current version
5654 }
5755}
5856// [END model]
5957
6058group = ' com.example.appengine' // Generated output GroupId
6159version = ' 1.0-SNAPSHOT' // Version in generated output
6260
63- sourceCompatibility = JavaVersion . VERSION_1_7 // App Engine Standard uses Java 7
64- targetCompatibility = JavaVersion . VERSION_1_7 // App Engine Standard uses Java 7
61+ sourceCompatibility = 1.7 // App Engine Standard uses Java 7
62+ targetCompatibility = 1.7 // App Engine Standard uses Java 7
6563// [END gradle]
0 commit comments