kotlinCompiler {
version = "1.3.0-rc-57" // commenting this line solves the problem
args("-jvm-target", "42")
}
p
pabl0rg
10/23/2018, 9:37 PM
what kind of error do you get? I've had problems with compiler version in the past. Usually it happens when the version i specify is newer than the default compiler version.
j
Jonathan
10/24/2018, 1:40 PM
It is not error. it is the opposite. If I pass "-jvm-target 42" as an argument to kotlinc, I should get an error. But I don't.
Jonathan
10/24/2018, 1:41 PM
(it works if I use kotlinc or gradle of course, but not when using Kobalt)