- Upgraded Docker image versions for `postgres`, `keycloak`, `rabbitmq`, `redis`, and `minio`. - Updated Kotlin to `1.9.25` and aligned related plugins. - Upgraded Spring Boot to `3.4.1` and adjusted dependencies accordingly. - Downgraded JVM target and toolchain to `17` for compatibility. - Updated Gradle to `8.12` along with dependency version improvements (`flyway-core`, `opentelemetry`, `springdoc`, AWS SDK).
56 lines
1.4 KiB
Plaintext
56 lines
1.4 KiB
Plaintext
import io.spring.gradle.dependencymanagement.dsl.DependencyManagementExtension
|
|
import org.gradle.api.plugins.JavaPluginExtension
|
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
plugins {
|
|
kotlin("jvm") version "1.9.25" apply false
|
|
kotlin("plugin.spring") version "1.9.25" apply false
|
|
kotlin("plugin.jpa") version "1.9.25" apply false
|
|
id("org.springframework.boot") version "3.4.1" apply false
|
|
id("io.spring.dependency-management") version "1.1.7" apply false
|
|
}
|
|
|
|
allprojects {
|
|
group = "com.mosenioring"
|
|
version = "0.1.0"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
subprojects {
|
|
plugins.withId("io.spring.dependency-management") {
|
|
the<DependencyManagementExtension>().apply {
|
|
imports {
|
|
mavenBom("org.springframework.boot:spring-boot-dependencies:3.4.1")
|
|
}
|
|
}
|
|
}
|
|
|
|
tasks.withType<KotlinCompile> {
|
|
kotlinOptions {
|
|
jvmTarget = "17"
|
|
freeCompilerArgs = listOf("-Xjsr305=strict")
|
|
}
|
|
}
|
|
|
|
plugins.withId("java") {
|
|
extensions.configure<JavaPluginExtension> {
|
|
toolchain {
|
|
languageVersion.set(JavaLanguageVersion.of(17))
|
|
}
|
|
}
|
|
}
|
|
|
|
plugins.withId("org.jetbrains.kotlin.jvm") {
|
|
extensions.configure<org.jetbrains.kotlin.gradle.dsl.KotlinJvmProjectExtension> {
|
|
jvmToolchain(17)
|
|
}
|
|
}
|
|
|
|
tasks.withType<Test> {
|
|
useJUnitPlatform()
|
|
}
|
|
}
|