Anybody else getting this error after updating Gradle to 7.2 and Kotlin to 1.5.30?
Copy code
* What went wrong:
Execution failed for task build
> Failed to notify task execution listener.
> KOTLIN_STAT_LABEl_PROPERTY
🚫 1
t
tapchicoma
09/06/2021, 9:12 AM
Hi, could you open a new KT issue with preferrably repro project attached?
h
hfhbd
09/06/2021, 9:14 AM
@tapchicomahttps://github.com/Kotlin/dokka/issues/2109
You added some stats (using GSON, why not Kotlinx Serialization?) in Kotlin 1.5.30, which results into a sync error when using an older Kotlin version in Gradle with classpath build script.
t
tapchicoma
09/06/2021, 9:17 AM
is it happens for you via dokka dependency?
tapchicoma
09/06/2021, 9:18 AM
using GSON, why not Kotlinx Serialization?
Kotlin repo has Gson as a dependency for a long time, that is why it was used. No idea if there is a plan to migrate into Kotlinx-serialization
h
hfhbd
09/06/2021, 9:18 AM
Yes, it only happens when using dokka-base with classpath dependency, which uses Kotlin 1.5.21 in Dokka 1.5.30
🙏 1
hfhbd
09/06/2021, 9:22 AM
Creating a simple gradle plugin with Kotlin 1.5.21 and consume it with Kotlin 1.5.30 using classpath dependency would be a good and simple test/reproducer too, as dokka is a complex project
t
tapchicoma
09/06/2021, 9:23 AM
I've forwarded this issue to the feature developer