Configure the java toolchain

Task :demo:desktop:compileKotlin

'compileJava' task (current target is 17) and 'compileKotlin' task (current target is 1.8) jvm target compatibility should be set to the same Java version.