2021-05-18 09:50:46 +07:00
|
|
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
|
|
|
|
plugins {
|
2022-10-21 13:45:08 +07:00
|
|
|
id("org.springframework.boot") version "2.7.5" apply false
|
2022-10-19 13:26:00 +07:00
|
|
|
id("io.spring.dependency-management") version "1.1.0" apply false
|
2022-11-09 13:09:09 +07:00
|
|
|
kotlin("jvm") version "1.7.21" apply false
|
2022-11-29 13:10:05 +07:00
|
|
|
kotlin("plugin.spring") version "1.7.22" apply false
|
2022-11-09 13:07:35 +07:00
|
|
|
kotlin("plugin.jpa") version "1.7.21" apply false
|
2021-05-18 09:50:46 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
2021-08-15 19:56:16 +07:00
|
|
|
repositories {
|
2022-03-26 08:59:44 +07:00
|
|
|
mavenCentral()
|
2021-08-15 19:56:16 +07:00
|
|
|
}
|
|
|
|
|
2021-05-18 09:50:46 +07:00
|
|
|
group = "com.cubetiqs"
|
|
|
|
version = "0.0.1-SNAPSHOT"
|
|
|
|
|
2022-10-05 18:08:30 +07:00
|
|
|
val javaVersion = "17"
|
2021-05-18 09:50:46 +07:00
|
|
|
|
|
|
|
tasks.withType<JavaCompile> {
|
|
|
|
sourceCompatibility = javaVersion
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.withType<KotlinCompile> {
|
|
|
|
kotlinOptions {
|
2021-05-24 11:24:15 +07:00
|
|
|
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
|
|
|
}
|