```w: ⚠️ Usage of Internal Kotlin Gradle Plugin Pr...
# gradle
m
Copy code
w: ⚠️ Usage of Internal Kotlin Gradle Plugin Properties Detected
Can I suppress this ☝️
t
No, it is internal properties that you should not use 🙂
which property are you using?
m
The
collectFUSMetrics
one
I can't remember why I added it, let me double check
Removing it seems ok 🤞
t
Should be fine - we've fixed issues in latest Kotlin releases with this part
🙌 1
t
m
Nice!
t
@trevjones interesting:
This happens when parallel config cache is enabled or disabled. Smells mostly like an issue between the kotlin plugin and config cache.
We don't observe it in out tests and
kotlin.git
. Which Kotlin version are you using?
I see - it is a transitive dependency of
kotlin-dsl
plugin
so it is 2.0.20 in Gradle 8.11
t
yeah I always build the plugins against whatever is embedded
m
Woops, turns out I still need it 🤔
Copy code
Exception while loading configuration for :apollo-kotlin:apollo-normalized-cache-sqlite: Could not load the value of field `__buildFusService__` of task `:apollo-kotlin:apollo-normalized-cache-sqlite:compileKotlinMacosArm64` of type `org.jetbrains.kotlin.gradle.tasks.KotlinNativeCompile`
We're on KGP 2.1.21 and Gradle 9-milestone-9 (but I think it was already the case on Gradle 8.14)
t
yeah 8.14.2 is 2.0.21 so still an issue there.
m
Mmm I don't think I'm using
embedded-kotlin
. I'm very adamant about using the latest version of KGP and using
languageVersion
I think this is "just" a Gradle issue? https://github.com/gradle/gradle/issues/32622
No KGP involved there?
t
yeah probably