-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
42 lines (35 loc) · 1.19 KB
/
build.gradle.kts
File metadata and controls
42 lines (35 loc) · 1.19 KB
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
plugins {
kotlin("jvm") version "2.1.20" // Currently the plugin is only available for Kotlin-JVM
id("io.exoquery.exoquery-plugin") version "2.1.20-1.1.2.PL"
kotlin("plugin.serialization") version "2.1.20"
}
repositories {
mavenCentral()
maven("https://s01.oss.sonatype.org/service/local/repositories/releases/content/")
mavenLocal()
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlin {
jvmToolchain(17)
}
dependencies {
api("io.exoquery:exoquery-jdbc:0.1.0.PL-0.1.0")
implementation("org.postgresql:postgresql:42.7.0")
implementation("io.zonky.test:embedded-postgres:2.0.7")
implementation("io.zonky.test.postgres:embedded-postgres-binaries-linux-amd64:16.2.0")
// OPTIONAL: Just for testing
testImplementation(kotlin("test"))
testImplementation(kotlin("test-common"))
testImplementation(kotlin("test-annotations-common"))
}
// OPTIONAL: Make tests show in the build log even when they pass
tasks.withType<Test>().configureEach {
testLogging {
events("passed", "skipped", "failed")
showStandardStreams = true
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
}
}