import org.jetbrains.kotlin.gradle.tasks.KotlinCompile buildscript { val springBootVersion = "2.4.2" repositories { mavenCentral() } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") } } plugins { 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 kotlin("plugin.jpa") version "1.4.21" apply false } allprojects { group = "com.cubetiqs.modules" version = "0.0.1-SNAPSHOT" tasks.withType { sourceCompatibility = "11" targetCompatibility = "11" } tasks.withType { kotlinOptions { freeCompilerArgs = listOf("-Xjsr305=strict") jvmTarget = "11" } } } subprojects { repositories { mavenCentral() } apply { plugin("io.spring.dependency-management") } the().apply { imports { mavenBom(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES) } } } tasks.withType { enabled = false }