6e37ffb674
this is work to get good UX for use case #61
42 lines
1 KiB
Groovy
42 lines
1 KiB
Groovy
// If you would like more information on the gradle-appengine-plugin please refer to the github page
|
|
// https://github.com/GoogleCloudPlatform/gradle-appengine-plugin
|
|
|
|
buildscript {
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath 'com.google.appengine:gradle-appengine-plugin:1.9.34'
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
jcenter();
|
|
}
|
|
|
|
apply plugin: 'java'
|
|
apply plugin: 'war'
|
|
apply plugin: 'appengine'
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_7
|
|
targetCompatibility = JavaVersion.VERSION_1_7
|
|
|
|
dependencies {
|
|
appengineSdk 'com.google.appengine:appengine-java-sdk:1.9.34'
|
|
compile 'com.google.appengine:appengine-endpoints:1.9.18'
|
|
compile 'com.google.appengine:appengine-endpoints-deps:1.9.18'
|
|
compile 'javax.servlet:servlet-api:2.5'
|
|
compile 'com.googlecode.objectify:objectify:4.0b3'
|
|
compile 'com.ganyo:gcm-server:1.0.2'
|
|
}
|
|
|
|
appengine {
|
|
downloadSdk = true
|
|
appcfg {
|
|
oauth2 = true
|
|
}
|
|
endpoints {
|
|
getClientLibsOnBuild = true
|
|
getDiscoveryDocsOnBuild = true
|
|
}
|
|
}
|