-
Notifications
You must be signed in to change notification settings - Fork 695
/
Copy pathbuild.gradle.kts
37 lines (32 loc) · 982 Bytes
/
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
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
import org.gradle.api.tasks.testing.logging.TestLogEvent
plugins {
kotlin("jvm")
alias(libs.plugins.serialization)
alias(libs.plugins.dokka)
}
repositories {
mavenCentral()
}
kotlin {
jvmToolchain(8)
}
dependencies {
api(project(":exposed-core"))
testImplementation(project(":exposed-dao"))
testImplementation(project(":exposed-tests"))
testImplementation(project(":exposed-json"))
testImplementation(project(":exposed-migration"))
testImplementation(libs.junit)
testImplementation(kotlin("test-junit"))
}
tasks.withType<Test>().configureEach {
if (JavaVersion.VERSION_1_8 > JavaVersion.current()) {
jvmArgs = listOf("-XX:MaxPermSize=256m")
}
testLogging {
events.addAll(listOf(TestLogEvent.PASSED, TestLogEvent.FAILED, TestLogEvent.SKIPPED))
showStandardStreams = true
exceptionFormat = TestExceptionFormat.FULL
}
}