@@ -5,17 +5,17 @@ buildscript {
5
5
mavenCentral()
6
6
}
7
7
dependencies {
8
- classpath(" com.h2database:h2:1.4.200 " )
8
+ classpath(libs.jdbc.h2 )
9
9
}
10
10
}
11
11
12
12
plugins {
13
13
id(" application" )
14
- id( " com.diffplug .spotless" ) version " 7.0.3 "
15
- id( " org.domaframework .doma.codegen" ) version " 3.0.0 "
16
- id( " org.domaframework .doma.compile" ) version " 3.0.1 "
17
- kotlin( " jvm " ) version " 2.1.20 "
18
- kotlin( " kapt " ) version " 2.1.20 "
14
+ alias(libs.plugins .spotless)
15
+ alias(libs.plugins .doma.codegen)
16
+ alias(libs.plugins .doma.compile)
17
+ alias(libs.plugins.kotlin.jvm)
18
+ alias(libs.plugins.kotlin.kapt)
19
19
}
20
20
21
21
kotlin {
@@ -28,17 +28,16 @@ application {
28
28
}
29
29
30
30
dependencies {
31
- val domaVersion: String by project
32
- kapt(" org.seasar.doma:doma-processor:$domaVersion " )
33
- implementation(" org.seasar.doma:doma-kotlin:$domaVersion " )
34
- implementation(" org.seasar.doma:doma-slf4j:$domaVersion " )
35
- runtimeOnly(" ch.qos.logback:logback-classic:1.5.18" )
36
- runtimeOnly(" com.h2database:h2:1.4.200" )
31
+ kapt(libs.doma.processor)
32
+ implementation(libs.doma.kotlin)
33
+ implementation(libs.doma.slf4j)
34
+ runtimeOnly(libs.logback.classic)
35
+ runtimeOnly(libs.jdbc.h2)
37
36
// Use JUnit BOM for version management
38
- testImplementation(platform(" org .junit:junit-bom:5.12.2 " ))
39
- testImplementation(" org .junit.jupiter:junit-jupiter- api" )
40
- testRuntimeOnly(" org .junit.jupiter:junit-jupiter- engine" )
41
- testRuntimeOnly(" org .junit.platform:junit-platform- launcher" )
37
+ testImplementation(platform(libs .junit.bom ))
38
+ testImplementation(libs .junit.jupiter. api)
39
+ testRuntimeOnly(libs .junit.jupiter. engine)
40
+ testRuntimeOnly(libs .junit.platform. launcher)
42
41
}
43
42
44
43
repositories {
0 commit comments