-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
57 lines (48 loc) · 1.4 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
plugins {
id "com.github.johnrengelman.shadow" version "1.2.4"
id "org.jetbrains.kotlin.jvm" version "1.3.50"
}
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'jacoco'
apply plugin: 'maven'
apply plugin: 'application'
apply plugin: 'eclipse'
apply plugin: 'idea'
sourceCompatibility = 1.8
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
kotlin {
experimental {
coroutines "enable"
}
}
repositories {
jcenter()
maven { url "https://dl.bintray.com/kotlin/ktor" }
}
group = 'com.larscheid'
mainClassName = "com.larscheid.KubeBadger"
shadowJar {
version = null
mergeServiceFiles()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib"
compile "io.ktor:ktor-server-netty:1.2.4"
compile 'io.kubernetes:client-java:1.0.0'
compile group: 'net.thisptr', name: 'jackson-jq', version: '0.0.8'
compile 'com.github.kittinunf.result:result:1.4.0'
// logging
compile group: 'net.logstash.logback', name: 'logstash-logback-encoder', version: '4.10'
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25'
compile group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.25'
//testing
testCompile "com.nhaarman:mockito-kotlin:1.4.0"
testCompile group: 'com.natpryce', name: 'hamkrest', version: '1.4.2.2'
testCompile group: 'junit', name: 'junit', version: '4.12'
}