-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
56 lines (44 loc) · 1.21 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
buildscript {
ext {
kotlinVersion = '1.2.41'
}
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
subprojects {
apply plugin: 'application'
apply plugin: 'kotlin'
group 'com.github.danzx.ga'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
ext {
assertjVersion = '3.10.0'
gsonVersion = '2.8.4'
junitVersion = '4.12'
junitParamsVersion = '1.1.1'
logbackVersion = '1.2.3'
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion"
compile "com.google.code.gson:gson:$gsonVersion"
compile "ch.qos.logback:logback-classic:$logbackVersion"
testCompile "junit:junit:$junitVersion"
testCompile "pl.pragmatists:JUnitParams:$junitParamsVersion"
testCompile "org.assertj:assertj-core:$assertjVersion"
}
compileKotlin {
kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8
}
compileTestKotlin {
kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8
}
}
task wrapper(type: Wrapper) {
gradleVersion = '4.7'
}