sample-modules/build.gradle.kts

45 lines
965 B
Plaintext
Raw Normal View History

2020-11-22 19:21:56 +07:00
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
buildscript {
repositories {
mavenCentral()
}
}
plugins {
2021-01-26 13:03:25 +07:00
id("org.springframework.boot") version "2.4.2" apply false
id("io.spring.dependency-management") version "1.0.11.RELEASE" apply false
kotlin("jvm") version "1.4.21" apply false
kotlin("plugin.spring") version "1.4.21" apply false
2020-11-22 19:21:56 +07:00
}
allprojects {
group = "com.cubetiqs.modules"
version = "0.0.1-SNAPSHOT"
tasks.withType<JavaCompile> {
sourceCompatibility = "11"
targetCompatibility = "11"
}
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = "11"
}
}
}
subprojects {
repositories {
mavenCentral()
}
apply {
plugin("io.spring.dependency-management")
}
2021-01-26 13:05:07 +07:00
}
tasks.withType<org.springframework.boot.gradle.tasks.bundling.BootJar> {
enabled = false
2020-11-22 19:21:56 +07:00
}