Skip to content

Commit 18671ee

Browse files
Update org.seasar.doma:doma to v3 (major) (#210)
* Update org.seasar.doma:doma to v3 * Use Java 17 * Use Java 21 for the build --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Toshihiro Nakamura <[email protected]>
1 parent 268843c commit 18671ee

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.sdkmanrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Enable auto-env through the sdkman_auto_env config
22
# Add key=value pairs of SDKs to use below
3-
java=11.0.23-zulu
3+
java=21-zulu

build.gradle.kts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ plugins {
1818
kotlin("kapt") version "2.0.20"
1919
}
2020

21+
kotlin {
22+
jvmToolchain {
23+
(this as JavaToolchainSpec).languageVersion.set(JavaLanguageVersion.of(17))
24+
}
25+
}
2126
application {
2227
mainClass.set("sample.AppKt")
2328
}
@@ -66,7 +71,7 @@ domaCodeGen {
6671
}
6772

6873
tasks {
69-
val jvmTarget = JvmTarget.JVM_11
74+
val jvmTarget = JvmTarget.JVM_17
7075

7176
compileKotlin {
7277
compilerOptions.jvmTarget = jvmTarget

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
domaVersion=2.62.1
1+
domaVersion=3.0.1
22
kapt.incremental.apt=true
33
kapt.use.worker.api=true
44
kapt.include.compile.classpath=false

0 commit comments

Comments
 (0)