fixed problem with sdk and shared

This commit is contained in:
Sambo Chea 2020-11-21 10:57:37 +07:00
parent e880d53938
commit e5710d8a26

View File

@ -1,7 +1,9 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins { plugins {
id("org.springframework.boot")
kotlin("jvm") kotlin("jvm")
kotlin("plugin.spring")
kotlin("plugin.jpa")
} }
dependencies { dependencies {
@ -17,10 +19,3 @@ dependencies {
tasks.withType<Test> { tasks.withType<Test> {
useJUnitPlatform() useJUnitPlatform()
} }
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = "11"
}
}