-
Notifications
You must be signed in to change notification settings - Fork 140
/
build.gradle.kts
44 lines (40 loc) · 1.34 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
plugins {
`java-library`
kotlin("jvm")
}
dependencies {
implementation("com.twelvemonkeys.imageio:imageio-core:3.9.4")
implementation("com.twelvemonkeys.imageio:imageio-jpeg:3.9.4")
implementation("com.drewnoakes:metadata-extractor:2.18.0")
implementation("com.github.zh79325:open-gif:1.0.4")
implementation("commons-io:commons-io:2.11.0")
implementation(project(":scrimage-core"))
testImplementation(kotlin("stdlib"))
testImplementation(kotlin("stdlib-jdk8"))
testImplementation("io.kotest:kotest-framework-datatest:5.5.4")
testImplementation("io.kotest:kotest-runner-junit5:5.5.4")
testImplementation("io.kotest:kotest-assertions-core:5.5.4")
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
tasks.named<Test>("test") {
useJUnitPlatform()
filter {
isFailOnNoMatchingTests = false
}
testLogging {
showExceptions = true
showStandardStreams = true
events = setOf(
org.gradle.api.tasks.testing.logging.TestLogEvent.FAILED,
org.gradle.api.tasks.testing.logging.TestLogEvent.PASSED
)
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
}
}
val compileTestKotlin: org.jetbrains.kotlin.gradle.tasks.KotlinCompile by tasks
compileTestKotlin.kotlinOptions {
jvmTarget = "1.8"
}