spring-web-modules/build.gradle.kts
Sambo Chea d404e84a4f
Some checks failed
continuous-integration/drone/push Build is failing
Add lite Dockerfile build scripts and upgraded deps
2022-10-05 18:08:30 +07:00

44 lines
1.1 KiB
Plaintext

import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("org.springframework.boot") version "2.7.4" apply false
id("io.spring.dependency-management") version "1.0.14.RELEASE" apply false
kotlin("jvm") version "1.7.20" apply false
kotlin("plugin.spring") version "1.7.20" apply false
kotlin("plugin.jpa") version "1.7.20" apply false
}
allprojects {
repositories {
mavenCentral()
}
group = "com.cubetiqs"
version = "0.0.1-SNAPSHOT"
val javaVersion = "17"
tasks.withType<JavaCompile> {
sourceCompatibility = javaVersion
}
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
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)
}
}
}