-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
executable file
·71 lines (53 loc) · 1.4 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
apply plugin: 'war'
apply plugin: 'appengine'
apply plugin: 'eclipse'
def appId = "gunnar-testar"
def appEmail = "[email protected]"
def appengineVersion = "1.9.19"
project.ext {
backend = "order-backend"
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "com.google.appengine:gradle-appengine-plugin:1.9.19"
}
}
repositories {
mavenLocal()
mavenCentral()
}
task wrapper(type: Wrapper) {
gradleVersion = '2.1'
}
dependencies {
appengineSdk "com.google.appengine:appengine-java-sdk:${appengineVersion}"
compile "javax.servlet:servlet-api:2.5"
compile "com.google.appengine:appengine-api-1.0-sdk:${appengineVersion}"
compile "com.google.appengine:appengine-api-labs:${appengineVersion}"
}
sourceSets.main.output.classesDir = 'src/main/webapp/WEB-INF/classes'
appengine {
httpPort = 8888
jvmFlags = ['-Xdebug', '-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8889', '-Xmx1024m', '-XX:MaxPermSize=512m']
appcfg {
email = "${appEmail}"
oauth2 = true
logs {
severity = 1
numDays = 1
outputFile = file("${appId}.log")
}
app {
id = "${appId}"
version = '131'
}
}
}
eclipse {
classpath {
downloadSources=true
}
}