spring-web-modules/build.gradle.kts

44 lines
1.0 KiB
Plaintext
Raw Normal View History

2021-05-18 09:50:46 +07:00
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("org.springframework.boot") version "3.0.2" apply false
id("io.spring.dependency-management") version "1.1.0" apply false
kotlin("jvm") version "1.8.10" apply false
kotlin("plugin.spring") version "1.8.10" apply false
kotlin("plugin.jpa") version "1.7.22" apply false
2021-05-18 09:50:46 +07:00
}
allprojects {
repositories {
mavenCentral()
}
2021-05-18 09:50:46 +07:00
group = "com.cubetiqs"
version = "0.0.1-SNAPSHOT"
val javaVersion = "17"
2021-05-18 09:50:46 +07:00
tasks.withType<JavaCompile> {
sourceCompatibility = javaVersion
}
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
2021-05-18 09:50:46 +07:00
jvmTarget = javaVersion
}
}
}
subprojects {
apply {
plugin("io.spring.dependency-management")
}
the<io.spring.gradle.dependencymanagement.dsl.DependencyManagementExtension>().apply {
imports {
mavenBom(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES)
}
}
2022-06-13 17:21:54 +07:00
}