thanksforallthefish
11/26/2018, 4:16 PMtasks{
withType<JavaCompile> {
options.encoding = "UTF-8"
targetCompatibility = "1.8"
}
withType(KotlinCompile::class.java).all {
targetCompatibility = "1.8"
}
withType<Test> {
useJUnitPlatform()
}
}
when running ./gradlew clean build
I get Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6. Please specify proper '-jvm-target' option
I am using gradle 5.0