-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
86 lines (70 loc) · 1.91 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
buildscript {
ext.kotlin_version = '1.2.10'
repositories {
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id 'application'
id 'jacoco'
id 'org.jetbrains.kotlin.jvm' version '1.1.51'
id 'com.github.ben-manes.versions' version '0.17.0'
}
sourceCompatibility = JavaVersion.VERSION_1_9
targetCompatibility = JavaVersion.VERSION_1_9
mainClassName = 'ui.cli.BaseKt'
repositories {
jcenter()
maven { url 'https://jitpack.io' }
}
dependencies {
implementation(
'org.jetbrains.kotlin:kotlin-stdlib',
"org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version",
'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.19',
'org.jetbrains.kotlinx:kotlinx-coroutines-nio:0.19',
'io.github.microutils:kotlin-logging:1.4.6',
'ch.qos.logback:logback-classic:1.2.3',
'ch.qos.logback:logback-core:1.2.3',
'org.slf4j:slf4j-api:1.7.25',
'org.http4k:http4k-core:2.38.0',
'org.http4k:http4k-server-netty:2.38.0',
'org.http4k:http4k-client-okhttp:2.38.0',
'org.http4k:http4k-format-gson:2.38.0',
'com.squareup.retrofit2:retrofit:2.3.0',
'com.squareup.retrofit2:converter-gson:2.3.0',
'info.picocli:picocli:2.0.3',
)
testCompile(
'junit:junit:4.12',
'org.assertj:assertj-core:3.8.0',
'org.mockito:mockito-all:2.0.2-beta'
)
}
kotlin {
experimental {
coroutines 'enable'
}
}
compileKotlin {
kotlinOptions {
jvmTarget = '1.8'
}
}
test {
reports.html.enabled = true
reports.junitXml.enabled = false
}
jacocoTestReport {
reports {
xml.enabled false
csv.enabled false
html.enabled true
}
}
task wrapper(type: Wrapper) {
gradleVersion = '4.3.1'
}