Anybody else getting this error after updating Gra...
# gradle
h
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
Hi, could you open a new KT issue with preferrably repro project attached?
h
@tapchicoma https://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
is it happens for you via dokka dependency?
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
Yes, it only happens when using dokka-base with classpath dependency, which uses Kotlin 1.5.21 in Dokka 1.5.30
🙏 1
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
I've forwarded this issue to the feature developer