Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ramesh-lingappan/8678f45e26d4c2c701da6cfdcc1a35f0 to your computer and use it in GitHub Desktop.
Save ramesh-lingappan/8678f45e26d4c2c701da6cfdcc1a35f0 to your computer and use it in GitHub Desktop.
Gradle file to have all application dependencies listed
ext {
//used libraries versions
libVersions =
[
servletApi : '3.1.0',
junit : '4.12',
gae : '1.9.54',
googleGradlePlugin: '1.3.2',
]
//used libraries
libs = [
servletApi : "javax.servlet:javax.servlet-api:3.1.0",
junit : "junit:junit:$libVersions.junit",
gae : [
'com.google.appengine:appengine-api-1.0-sdk:+'
],
gaeTest : [
"com.google.appengine:appengine-testing:${libVersions.gae}",
"com.google.appengine:appengine-api-stubs:${libVersions.gae}"
],
gaeLabs : "com.google.appengine:appengine-api-labs:${libVersions.gae}",
googleGradlePlugin: "com.google.cloud.tools:appengine-gradle-plugin:${libVersions.googleGradlePlugin}"
]
//configs
config = [
gae: [
port : [
default: 8880,
backend: 8881
],
defaultJvmFlags: [
'-Dappengine.fullscan.seconds=3',
"-Ddatastore.backing_store=$projectDir/appengine-generated/local_db.bin".toString(),
"-Ddatastore.generated_dir=$projectDir/appengine-generated/".toString()
]
]
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment