|
1 | 1 | plugins { |
2 | | - kotlin("jvm") version "2.1.10" |
3 | | - kotlin("plugin.spring") version "2.1.10" |
4 | | - id("org.springframework.boot") version "3.4.2" |
5 | | - id("io.spring.dependency-management") version "1.1.7" |
| 2 | + kotlin("jvm") version "2.1.10" |
| 3 | + kotlin("plugin.spring") version "2.1.10" |
| 4 | + id("org.springframework.boot") version "3.4.2" |
| 5 | + id("io.spring.dependency-management") version "1.1.7" |
6 | 6 | } |
7 | 7 |
|
8 | 8 | group = "org.ivdnt" |
9 | 9 |
|
10 | 10 | java { |
11 | | - toolchain { |
12 | | - languageVersion = JavaLanguageVersion.of(21) |
13 | | - } |
| 11 | + toolchain { |
| 12 | + languageVersion = JavaLanguageVersion.of(23) |
| 13 | + } |
14 | 14 | } |
15 | 15 |
|
16 | 16 | repositories { |
17 | | - mavenCentral() |
18 | | - gradlePluginPortal() |
| 17 | + mavenCentral() |
| 18 | + gradlePluginPortal() |
19 | 19 | } |
20 | 20 |
|
21 | 21 | dependencies { |
22 | | - // Spring |
23 | | - // Versions controlled by Spring Boot plygin |
24 | | - implementation("org.springframework.boot:spring-boot-starter-web") |
25 | | - implementation("org.springframework.boot:spring-boot-devtools") |
26 | | - testImplementation("org.springframework.boot:spring-boot-starter-test") |
| 22 | + // Spring |
| 23 | + // Versions controlled by Spring Boot plygin |
| 24 | + implementation("org.springframework.boot:spring-boot-starter-web") |
| 25 | + implementation("org.springframework.boot:spring-boot-devtools") |
| 26 | + testImplementation("org.springframework.boot:spring-boot-starter-test") |
27 | 27 |
|
28 | | - // kotlin |
29 | | - // Versions controlled by Kotlin jvm plugin |
30 | | - implementation("org.jetbrains.kotlin:kotlin-reflect") |
31 | | - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core") |
| 28 | + // kotlin |
| 29 | + // Versions controlled by Kotlin jvm plugin |
| 30 | + implementation("org.jetbrains.kotlin:kotlin-reflect") |
| 31 | + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core") |
32 | 32 |
|
33 | | - // swagger |
34 | | - implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.5") |
| 33 | + // swagger |
| 34 | + implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.5") |
35 | 35 |
|
36 | | - // logging |
37 | | - implementation("org.apache.logging.log4j:log4j-api-kotlin:1.5.0") |
| 36 | + // logging |
| 37 | + implementation("org.apache.logging.log4j:log4j-api-kotlin:1.5.0") |
38 | 38 |
|
39 | | - // yaml |
40 | | - implementation("org.yaml:snakeyaml:2.4") |
| 39 | + // yaml |
| 40 | + implementation("org.yaml:snakeyaml:2.4") |
41 | 41 |
|
42 | | - // json |
43 | | - implementation("com.beust:klaxon:5.6") |
| 42 | + // json |
| 43 | + implementation("com.beust:klaxon:5.6") |
44 | 44 |
|
45 | | - // cache |
46 | | - implementation("com.github.ben-manes.caffeine:caffeine:3.2.0") |
| 45 | + // cache |
| 46 | + implementation("com.github.ben-manes.caffeine:caffeine:3.2.0") |
47 | 47 | } |
48 | 48 |
|
49 | 49 | tasks.withType<Test> { |
50 | | - environment(mapOf("profile" to "dev")) |
51 | | - useJUnitPlatform() |
| 50 | + environment(mapOf("profile" to "dev")) |
| 51 | + useJUnitPlatform() |
52 | 52 | } |
0 commit comments