anyone know how to fix this warning? ```/.gradle/c...
# android
a
anyone know how to fix this warning?
Copy code
/.gradle/caches/transforms-2/files-2.1/08b4d730ba6c80c87328a0558e314dae/jetified-kotlin-stdlib-jdk7-1.3.72.jar: Runtime JAR file has version 1.3 which is older than required for API version 1.4
I can’t find which dependency is using 1.4
j
Maybe you can try to clear your cache? Or just remove that folder?
a
yeah, it just makes another cache and same warning
i
You could downgrade to
1.3.72
,
1.4
is still not stable, I think
a
But I’m not using 1.4 😞
l
I can’t find which dependency is using 1.4
Did you try running
./gradlew :module-you-suspect-has-adependency-on-kotlin-one-point-four:dependencies
starting from the module shaving dependencies yu updated after Kotlin 1.4-M1 was released?
a
Yes, there’s no mention of 1.4 sadly. Only like this:
Copy code
+--- org.jetbrains.kotlinx:kotlinx-coroutines-test:1.3.7
|    +--- org.jetbrains.kotlin:kotlin-stdlib:1.3.71 -> 1.3.72 (*)
|    +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.7
|    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.3.71 -> 1.3.72 (*)
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.3.71 -> 1.3.72
That would be weird if I’m the only one facing this issue 🤔
l
@allan.conda This is the only module you have in your project?
a
No, it’s a multi-modular project using compose and Android Studio Preview. I guess I should try reverting to find the cause..
l
Might be related to the use of Compose. DId you double check that configuration that changes the Kotlin version?
a
/.gradle/caches/transforms-2/files-2.1/08b4d730ba6c80c87328a0558e314dae/jetified-kotlin-stdlib-jdk7-1.3.72.jar: Runtime JAR file has version 1.3 which is older than required for API version 1.4
Looks like it was caused by the latest update. Shows up when I update to agp 4.2.0-alpha01 and gradle 6.5-rc-1.
also getting kotlin plugin version unsupported warning…