-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
57 lines (44 loc) · 1.3 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
group 'org.http4k'
version '1.0-SNAPSHOT'
buildscript {
ext.kotlin_version = '1.4.21'
ext.http4k_version = '4.3.0.0'
ext.junit_version = '5.7.0'
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'kotlin'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
repositories {
mavenCentral()
jcenter()
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
}
}
compileKotlin.kotlinOptions {
jvmTarget = "1.8"
}
compileTestKotlin.kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs += "-Xjvm-default=enable"
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile "org.http4k:http4k-core:$http4k_version"
compile "org.http4k:http4k-client-okhttp:$http4k_version"
compile "com.thoughtworks.xstream:xstream:1.4.19"
testCompile "org.http4k:http4k-testing-servirtium:$http4k_version"
testCompile "org.http4k:http4k-testing-hamkrest:$http4k_version"
testCompile "org.junit.jupiter:junit-jupiter-api:$junit_version"
testCompile "org.junit.jupiter:junit-jupiter-engine:$junit_version"
}