2021-08-07 09:21:08 +07:00
|
|
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
|
|
|
|
plugins {
|
2022-09-23 09:39:57 +07:00
|
|
|
id("org.springframework.boot") version "2.7.4" apply false
|
2022-09-22 09:47:48 +07:00
|
|
|
id("io.spring.dependency-management") version "1.0.14.RELEASE" apply false
|
2022-09-30 09:40:30 +07:00
|
|
|
kotlin("jvm") version "1.7.20" apply false
|
2022-07-08 12:51:43 +07:00
|
|
|
kotlin("plugin.spring") version "1.7.10" apply false
|
2022-09-30 09:41:08 +07:00
|
|
|
kotlin("plugin.jpa") version "1.7.20" apply false
|
2022-10-10 09:32:47 +07:00
|
|
|
id("com.netflix.dgs.codegen") version "5.4.0" 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
|
|
|
}
|