-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
43 lines (37 loc) · 1.22 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
plugins {
java
id("io.quarkus")
id("org.seasar.doma.compile") version "1.1.0"
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
val quarkusVersion: String by project
val quarkusDomaVersion: String by project
val domaVersion: String by project
implementation(enforcedPlatform("io.quarkus:quarkus-bom:${quarkusVersion}"))
implementation("io.quarkus:quarkus-jdbc-postgresql:${quarkusVersion}")
implementation("io.quarkus:quarkus-resteasy:${quarkusVersion}")
implementation("io.quarkus:quarkus-resteasy-jsonb:${quarkusVersion}")
implementation("io.quarkiverse.doma:quarkus-doma:$quarkusDomaVersion")
implementation("org.seasar.doma:doma-core:$domaVersion")
annotationProcessor("org.seasar.doma:doma-processor:$domaVersion")
testImplementation("io.quarkus:quarkus-junit5:${quarkusVersion}")
testImplementation("io.rest-assured:rest-assured:5.5.0")
}
tasks {
val encoding = "UTF-8"
compileJava {
options.encoding = encoding
options.compilerArgs.add("-parameters")
}
compileTestJava {
options.encoding = encoding
}
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}