-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
50 lines (43 loc) · 1.23 KB
/
build.gradle.kts
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
import org.gradle.internal.impldep.bsh.commands.dir
import org.jetbrains.kotlin.gradle.dsl.Coroutines
plugins {
application
kotlin("jvm") version "1.2.41"
id("com.lovelysystems.gradle") version ("1.2.0")
}
lovely {
gitProject()
dockerProject("lovelysystems/signpdf")
with(dockerFiles) {
from(tasks["distTar"].outputs)
from("docker/Dockerfile")
}
}
group = "com.lovelysystems"
application {
mainClassName = "io.ktor.server.netty.DevelopmentEngine"
}
repositories {
jcenter()
mavenCentral()
maven {
setUrl("https://dl.bintray.com/kotlin/ktor")
}
}
kotlin {
experimental.coroutines = Coroutines.ENABLE
}
dependencies {
val ktorVersion = "0.9.2"
compile(kotlin("stdlib-jdk8"))
compile("org.apache.pdfbox:pdfbox:2.0.9")
compile("org.bouncycastle:bcmail-jdk15on:1.59")
compile("io.ktor:ktor-server-core:$ktorVersion")
compile("io.ktor:ktor-server-netty:$ktorVersion")
compile("ch.qos.logback:logback-classic:1.2.1")
compile("com.google.guava:guava:27.1-jre")
compile("com.sun.xml.ws:jaxws-ri:2.3.2")
testCompile("org.amshove.kluent:kluent:1.32")
testCompile("junit:junit:4.12")
testCompile("io.ktor:ktor-server-test-host:$ktorVersion")
}