Don't set GAE location unless property available
This commit is contained in:
parent
a681dee0e1
commit
7ce29d3e3d
|
@ -7,9 +7,9 @@ class GaePlugin implements Plugin<Project> {
|
|||
public void apply(Project project) {
|
||||
if (!project.hasProperty('appEngineSdkRoot')) {
|
||||
println "'appEngineSdkRoot' must be set in gradle.properties"
|
||||
}
|
||||
|
||||
} else {
|
||||
System.setProperty('appengine.sdk.root', project.property('appEngineSdkRoot'))
|
||||
}
|
||||
|
||||
File explodedWar = new File(project.buildDir, "gae-exploded")
|
||||
|
||||
|
|
Loading…
Reference in New Issue