2021-05-18 09:50:46 +07:00
|
|
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
|
|
|
|
plugins {
|
2022-04-01 13:33:42 +07:00
|
|
|
id("org.springframework.boot") version "2.6.6" apply false
|
2021-05-18 09:50:46 +07:00
|
|
|
id("io.spring.dependency-management") version "1.0.11.RELEASE" apply false
|
2022-03-26 08:55:42 +07:00
|
|
|
kotlin("jvm") version "1.6.10" apply false
|
2022-04-04 13:28:32 +07:00
|
|
|
kotlin("plugin.spring") version "1.6.20" apply false
|
2022-03-26 08:59:44 +07:00
|
|
|
// kotlin("plugin.jpa") version "1.6.10" apply false
|
2021-05-18 09:50:46 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
2021-12-11 20:33:36 +07:00
|
|
|
// Fixed Zero-Day CVE-2021-44228: https://cubetiq.atlassian.net/browse/CERT-1
|
2021-12-16 08:50:15 +07:00
|
|
|
// Fixed Zero-Day CVE-2021-45046: https://cubetiq.atlassian.net/browse/CERT-3
|
2021-12-19 14:24:14 +07:00
|
|
|
// Fixed Zero-Day CVE-2021-45105: https://cubetiq.atlassian.net/browse/CERT-4
|
|
|
|
ext["log4j2.version"] = "2.17.0"
|
2021-12-11 11:05:46 +07:00
|
|
|
|
2021-08-15 19:56:16 +07:00
|
|
|
repositories {
|
|
|
|
maven("https://m.ctdn.net")
|
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"
|
|
|
|
|
|
|
|
val javaVersion = "11"
|
|
|
|
|
|
|
|
tasks.withType<JavaCompile> {
|
|
|
|
sourceCompatibility = javaVersion
|
|
|
|
targetCompatibility = 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)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|