hello all! I’ve been trying to update my projecto...
# announcements
c
hello all! I’ve been trying to update my projecto to 1.4.21 (from 1.3.72) and I’m having a couple of errors with kotlin-reflect
Copy code
w: Consider providing an explicit dependency on kotlin-reflect 1.4 to prevent strange errors
w: Some runtime JAR files in the classpath have an incompatible version. Consider removing them from the classpath
It seems kotlin-reflect is being used by android lint which is causing this error. I’ve already tried to: • declare the right version of kotlin-reflect • resolve it 1.4.21 via
resolutionStrategy
But the error persists. Any suggestion on how I can fix it? Thank you 🙂
c
have you tried using the bom?
Copy code
implementation(enforcedPlatform("org.jetbrains.kotlin:kotlin-bom:$kotlinVersion"))
j
Are you using buildSrc with kotlin dsl? i have that warnings a lot of months, no problem with that
with 7.0 should disappear
c
yes @christophsturm, the problem persists
@Javier no I’ve got warnings set as errors, I was trying to avoid disabling it