-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
118 lines (85 loc) · 4.01 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
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
java
application
kotlin("jvm") version "1.4.10"
id("com.github.johnrengelman.shadow") version "5.2.0"
kotlin("kapt") version "1.4.10"
id("org.jetbrains.dokka") version "1.4.10.2"
}
group = "uk.ac.le.ember"
version = "0.0.0"
repositories {
mavenCentral()
jcenter()
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.3")
testImplementation("io.kotest", "kotest-runner-junit5", "4.3.1")
testImplementation("io.kotest", "kotest-assertions-core", "4.3.1")
testImplementation("io.kotest", "kotest-property", "4.3.1")
testImplementation("io.mockk:mockk:1.10.2")
kapt("org.litote.kmongo:kmongo-annotation-processor:3.12.0")
// https://mvnrepository.com/artifact/org.slf4j/slf4j-simple
implementation("org.slf4j", "slf4j-simple", "1.7.30")
// TODO add support for more native detailed logs with debug option can be toggled from commandline
// https://mvnrepository.com/artifact/io.github.microutils/kotlin-logging
implementation("io.github.microutils", "kotlin-logging", "2.0.3")
// https://mvnrepository.com/artifact/com.github.ajalt/clikt
implementation("com.github.ajalt", "clikt", "2.8.0")
// https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils
implementation("commons-beanutils", "commons-beanutils", "1.9.4")
// https://mvnrepository.com/artifact/org.apache.commons/commons-configuration2
implementation("org.apache.commons", "commons-configuration2", "2.7")
// https://mvnrepository.com/artifact/org.litote.kmongo/kmongo
implementation("org.litote.kmongo", "kmongo", "4.1.3")
// https://mvnrepository.com/artifact/org.mindrot/jbcrypt
implementation("org.mindrot", "jbcrypt", "0.4")
// https://mvnrepository.com/artifact/com.j2html/j2html
implementation("com.j2html", "j2html", "1.4.0")
// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
implementation("org.apache.commons", "commons-lang3", "3.11")
// https://mvnrepository.com/artifact/commons-codec/commons-codec
implementation("commons-codec", "commons-codec", "1.15")
// https://mvnrepository.com/artifact/io.javalin/javalin
implementation("io.javalin", "javalin", "3.11.2")
// https://mvnrepository.com/artifact/io.javalin/javalin-openapi
implementation("io.javalin", "javalin-openapi", "3.11.2")
// https://mvnrepository.com/artifact/org.simplejavamail/simple-java-mail
implementation("org.simplejavamail", "simple-java-mail", "6.4.4")
// https://mvnrepository.com/artifact/org.simplejavamail/batch-module
implementation("org.simplejavamail", "batch-module", "6.4.4")
// https://mvnrepository.com/artifact/com.google.code.gson/gson
implementation("com.google.code.gson", "gson", "2.8.6")
// https://mvnrepository.com/artifact/com.google.zxing/core
implementation("com.google.zxing", "core", "3.4.1")
// https://mvnrepository.com/artifact/com.google.zxing/javase
implementation("com.google.zxing", "javase", "3.4.1")
// https://mvnrepository.com/artifact/commons-io/commons-io
implementation("commons-io", "commons-io", "2.8.0")
// https://mvnrepository.com/artifact/com.fasterxml.jackson.module/jackson-module-kotlin
implementation("com.fasterxml.jackson.module", "jackson-module-kotlin", "2.11.3")
implementation("com.uchuhimo", "konf", "0.23.0")
implementation("com.github.kittinunf.fuel", "fuel", "2.3.0")
implementation("com.github.kittinunf.result", "result", "3.1.0")
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_1_8
}
tasks.withType<Test> {
useJUnitPlatform()
}
application {
mainClassName = "AppKt"
}
tasks {
named<ShadowJar>("shadowJar") {
classifier = null
}
withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
}