-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
61 lines (49 loc) · 1.35 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
plugins {
id "org.jetbrains.kotlin.jvm" version "1.3.50"
id "org.jetbrains.kotlin.kapt" version "1.3.50"
id "org.jetbrains.kotlin.plugin.allopen" version "1.3.50"
id "com.github.johnrengelman.shadow" version "5.2.0"
}
version "0.1"
group "pg.cdt"
repositories {
jcenter()
mavenCentral()
maven {
url 'https://jitpack.io'
content { includeGroup "com.github.medly.norm" }
}
}
configurations {
// for dependencies that are needed for development only
developmentOnly
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${kotlinVersion}"
implementation "org.jetbrains.kotlin:kotlin-reflect:${kotlinVersion}"
implementation "com.github.medly.norm:runtime:0.0.1"
implementation "com.impossibl.pgjdbc-ng:pgjdbc-ng:0.8.3"
runtimeOnly "com.fasterxml.jackson.module:jackson-module-kotlin:2.9.8"
runtimeOnly "ch.qos.logback:logback-classic:1.2.3"
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.3.2"
}
test.classpath += configurations.developmentOnly
test {
useJUnitPlatform()
}
compileKotlin {
kotlinOptions {
jvmTarget = '1.8'
//Will retain parameter names for Java reflection
javaParameters = true
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = '1.8'
javaParameters = true
}
}
shadowJar {
mergeServiceFiles()
}