this is probably old stuff (and I am pretty sure I...
# gradle
t
this is probably old stuff (and I am pretty sure I already saw it and fixed it) but I have
Copy code
tasks{
	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