Last active
October 9, 2017 12:53
-
-
Save ramesh-lingappan/bbcba5d1eed6b207e221f17b35798747 to your computer and use it in GitHub Desktop.
WebApp Module build.gradle configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
group 'com.rameshl.demos' | |
version '1.0' | |
buildscript { | |
repositories { | |
jcenter() | |
mavenCentral() | |
} | |
dependencies { | |
// latest App Engine Gradle tasks | |
classpath libs.googleGradlePlugin | |
} | |
} | |
apply plugin: 'war' // standard Web Archive plugin | |
apply plugin: 'com.google.cloud.tools.appengine' // App Engine tasks | |
dependencies { | |
compileOnly libs.servletApi | |
compile libs.gae // Latest App Engine Api's | |
compileOnly libs.gaeLabs | |
testCompileOnly libs.gaeTest | |
// Commons module | |
compile project(":Commons") | |
} | |
// App Engine tasks configuration | |
appengine { | |
run { | |
port = config.gae.port.default | |
jvmFlags = config.gae.defaultJvmFlags | |
} | |
deploy { // deploy configuration | |
project = 'project-id' | |
version = 1 | |
stopPreviousVersion = false // default - stop the current version | |
promote = false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment