any idea why ```tasks.withType<KotlinCompile&gt...
# announcements
t
any idea why
Copy code
tasks.withType<KotlinCompile> {
    kotlinOptions {
        freeCompilerArgs += "-Xjsr305=strict"
        freeCompilerArgs += "-Xopt-in=kotlinx.serialization.ImplicitReflectionSerializer"
        jvmTarget = "1.8"
    }
}
results in
w: Flag is not supported by this version of the compiler: -Xopt=in=kotlinx.serialization.ImplicitReflectionSerializer
? (kotlin 1.3.61)
m
I thought opt-in was added in 1.3.70? Prior to that, it was 'experimental' or something along those lines.
2
t
oh wow thank you, thats it. The docs unfortunately only say
kotlin 1.3
. thank you very much!
m
NP. Glad to help.
And some feedback for the JB team on docs. Maybe they need a 'Since 1.3.70' type markers on things like this?
i
m
Yes, I think so.