FAILURE: Build failed with an exception. * What w...
# k2-adopters
m
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task 'ksoup entitescompileCommonMainKotlinMetadata'.
A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
> Compilation error. See log for more details
Task ksoup entitescompileCommonMainKotlinMetadata FAILED
w: Language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features e: Compilation to metadata is not supported with language version 2.0 right now I'm getting this error while building my project using K2 Kotlin gradle plugin: 1.8.20
d
1.8.20 does not support MPP compilation It will be released in alpha stage in 1.9.0
m
@dmitriy.novozhilov I tried again after the 1.9.0-Beta release and it works fine, but the build time was the same. I tried it on my library Ksoup which contains only kotlin stdlib with no other dependencies, it's super lightweight so I though that it's not the best project to see the improvements.
d
Yeah, there is a more-or-less constant time of compiler initialization, which is the same for K1 and K2 compilers And on small projects this time may be greater then compilation itself
Anyway, it's very good to know that you didn't faced any issues Thank you for checking this!