-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
executable file
·57 lines (46 loc) · 1.57 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
group = "com.encodeering.luminous"
plugins {
java
kotlin ("jvm")
id ("org.kordamp.gradle.jandex") version ("0.9.0")
}
allprojects {
version = "0.0.1-SNAPSHOT" // git sha[8] should be used later
repositories {
mavenCentral ()
maven ("https://repo1.maven.org/maven2")
}
}
configure (subprojects.filter { it.name != "module" }) {
apply (plugin = "org.gradle.java")
apply (plugin = "org.jetbrains.kotlin.jvm")
apply (plugin = "org.kordamp.gradle.jandex")
dependencies {
implementation (kotlin ("stdlib-jdk8"))
implementation ("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
implementation ("org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1")
implementation ("org.slf4j:slf4j-api:1.7.30")
implementation (enforcedPlatform ("io.quarkus:quarkus-bom:1.12.2.Final"))
testImplementation ("org.mockito:mockito-core:4.0.0")
testImplementation ("org.assertj:assertj-core:3.23.1")
testImplementation ("org.junit.jupiter:junit-jupiter-api:5.7.0")
testImplementation ("org.junit.jupiter:junit-jupiter-params:5.9.0")
testRuntimeOnly ("org.junit.jupiter:junit-jupiter-engine:5.9.0")
}
tasks {
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
test {
useJUnitPlatform {
includeEngines ("junit-jupiter")
}
testLogging {
events ("FAILED")
}
}
}
}