I recently updated my project to AGP 8.3.0. And since then I am getting errors:
Dependency ':x' requires core library desugaring to be enabled for :y.
I have coreLibraryDesugaring enabled,
Groovy:
compileOptions {
coreLibraryDesugaringEnabled true
}
I am using com.android.tools:desugar_jdk_libs:2.0.4. All worked before AGP upgrade (8.0.0)
I tried updating desugar lib (this is the latest version), looking for issue on Internet etc
This seems to be an obsolete AGP 4.0 property. According to the documentation, this should be: