-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
63 lines (48 loc) · 1.35 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
buildscript {
ext {
kotlinVersion = '1.2.50'
}
repositories {
mavenCentral()
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}")
classpath 'com.google.appengine:gradle-appengine-plugin:1.9.59'
classpath 'com.github.ben-manes:gradle-versions-plugin:0.20.0'
}
}
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'war'
apply plugin: 'idea'
apply plugin: 'appengine'
apply plugin: 'com.github.ben-manes.versions'
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
kotlinOptions {
jvmTarget = "1.8"
apiVersion = "1.2"
languageVersion = "1.2"
}
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
appengine {
appcfg {
email = '[email protected]'
oauth2 = true
}
}
repositories {
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${kotlinVersion}"
compile 'javax.servlet:javax.servlet-api:4.0.1'
compile 'org.json:json:20180130'
compile 'joda-time:joda-time:2.10'
compile 'com.google.code.gson:gson:2.8.5'
runtime 'com.google.appengine:appengine-api-1.0-sdk:1.9.64'
}