-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.gradle
60 lines (50 loc) · 1.39 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
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7"
classpath 'org.apache.httpcomponents:httpclient:4.5.2'
}
}
allprojects {
repositories {
mavenCentral()
maven {
url 'https://dl.bintray.com/kotlin/exposed'
}
}
apply plugin: 'java'
apply plugin: 'kotlin'
def project = it
dependencies {
if (project.name != 'ide-plugin') {
compile 'org.jetbrains:annotations:15.0'
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
}
testCompile 'junit:junit:4.12'
testCompile 'com.h2database:h2:1.4.193'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
test {
systemProperties System.properties
testLogging {
exceptionFormat = 'full'
}
}
}
task wrapper(type: Wrapper) {
gradleVersion = '4.10.2'
}
subprojects {
if (it.name in ['storage-server-api', 'lambda-update-handler', 'lambda-put-handler', 'contract-creator', 'state-tracker', 'ide-plugin']) {
dependencies {
compile 'com.google.code.gson:gson:2.8.0'
}
}
}