2021-08-07 09:21:08 +07:00
|
|
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
|
|
|
|
plugins {
|
2022-08-19 09:25:59 +07:00
|
|
|
id("org.springframework.boot") version "2.7.3" apply false
|
2022-09-22 09:47:48 +07:00
|
|
|
id("io.spring.dependency-management") version "1.0.14.RELEASE" apply false
|
2022-07-08 09:44:07 +07:00
|
|
|
kotlin("jvm") version "1.7.10" apply false
|
2022-07-08 12:51:43 +07:00
|
|
|
kotlin("plugin.spring") version "1.7.10" apply false
|
2022-07-08 12:52:55 +07:00
|
|
|
kotlin("plugin.jpa") version "1.7.10" apply false
|
2022-09-02 09:50:00 +07:00
|
|
|
id("com.netflix.dgs.codegen") version "5.3.1" apply false
|
2021-08-07 09:21:08 +07:00
|
|
|
}
|
|
|
|
|
2021-08-08 12:33:34 +07:00
|
|
|
allprojects {
|
|
|
|
repositories {
|
2022-05-27 12:30:12 +07:00
|
|
|
mavenCentral()
|
2021-08-08 12:33:34 +07:00
|
|
|
}
|
2021-08-07 09:21:08 +07:00
|
|
|
|
2021-08-08 12:33:34 +07:00
|
|
|
group = "com.cubetiqs"
|
|
|
|
version = "0.0.1-SNAPSHOT"
|
2021-08-08 11:01:26 +07:00
|
|
|
|
2022-05-27 12:30:12 +07:00
|
|
|
val javaVersion = "17"
|
2021-08-07 09:21:08 +07:00
|
|
|
|
2021-08-08 12:33:34 +07:00
|
|
|
tasks.withType<JavaCompile> {
|
|
|
|
sourceCompatibility = javaVersion
|
|
|
|
targetCompatibility = javaVersion
|
|
|
|
}
|
2021-08-07 09:21:08 +07:00
|
|
|
|
2021-08-08 12:33:34 +07:00
|
|
|
tasks.withType<KotlinCompile> {
|
|
|
|
kotlinOptions {
|
|
|
|
freeCompilerArgs = listOf("-Xjsr305=strict")
|
|
|
|
jvmTarget = javaVersion
|
|
|
|
}
|
|
|
|
}
|
2021-08-07 09:21:08 +07:00
|
|
|
}
|
|
|
|
|
2021-08-08 12:33:34 +07:00
|
|
|
subprojects {
|
|
|
|
apply {
|
|
|
|
plugin("io.spring.dependency-management")
|
|
|
|
}
|
2021-08-07 19:56:39 +07:00
|
|
|
|
2021-08-08 12:33:34 +07:00
|
|
|
the<io.spring.gradle.dependencymanagement.dsl.DependencyManagementExtension>().apply {
|
|
|
|
imports {
|
|
|
|
mavenBom(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES)
|
|
|
|
}
|
|
|
|
}
|
2021-08-07 10:27:34 +07:00
|
|
|
}
|