1
1
// Copyright 2015 Google Inc. All Rights Reserved.
2
- //
2
+ //
3
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
4
// you may not use this file except in compliance with the License.
5
5
// You may obtain a copy of the License at
6
- //
6
+ //
7
7
// http://www.apache.org/licenses/LICENSE-2.0
8
- //
8
+ //
9
9
// Unless required by applicable law or agreed to in writing, software
10
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -23,15 +23,15 @@ buildscript { // Configuration for building
23
23
}
24
24
25
25
repositories { // repositories for Jar's you access in your code
26
- maven {
26
+ maven {
27
27
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)
29
29
}
30
30
jcenter()
31
31
mavenCentral()
32
32
}
33
33
34
- apply plugin : ' java' // standard Java tasks
34
+ apply plugin : ' java' // standard Java tasks
35
35
apply plugin : ' war' // standard Web Archive plugin
36
36
apply plugin : ' com.google.cloud.tools.appengine' // App Engine tasks
37
37
@@ -43,23 +43,21 @@ dependencies {
43
43
}
44
44
45
45
// [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
+ }
51
50
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
56
54
}
57
55
}
58
56
// [END model]
59
57
60
58
group = ' com.example.appengine' // Generated output GroupId
61
59
version = ' 1.0-SNAPSHOT' // Version in generated output
62
60
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
65
63
// [END gradle]
0 commit comments