apply plugin: 'io.spring.convention.spring-sample-war' apply plugin: 'com.google.cloud.tools.appengine' buildscript { repositories { mavenCentral() } dependencies { classpath 'com.google.cloud.tools:appengine-gradle-plugin:1.3.5' } } // Remove logback as it causes security issues with GAE. configurations.runtime.exclude(group: 'ch.qos.logback') dependencies { compile "com.google.appengine:appengine:$gaeVersion" compile project(':spring-security-core') compile project(':spring-security-taglibs') compile project(':spring-security-web') compile jstlDependencies compile slf4jDependencies compile "com.google.appengine:appengine-api-1.0-sdk:$gaeVersion" compile "com.google.appengine:appengine-api-stubs:$gaeVersion" compile 'javax.validation:validation-api' compile 'org.hibernate:hibernate-validator' compile 'org.springframework:spring-beans' compile 'org.springframework:spring-context' compile 'org.springframework:spring-context-support' compile 'org.springframework:spring-web' compile 'org.springframework:spring-webmvc' providedCompile 'javax.servlet:javax.servlet-api' runtime project(':spring-security-config') testCompile "com.google.appengine:appengine-testing:$gaeVersion" testRuntime "com.google.appengine:appengine-api-labs:$gaeVersion" } appengineRun.onlyIf { !gradle.taskGraph.hasTask(appengineFunctionalTest) }