Slackbot
03/25/2022, 10:00 AMPaul Merlin
03/25/2022, 10:13 AMtasks.withType(L8DexDesugarLibTask) {
if (name.endsWith("AndroidTest")) {
keepRulesConfigurations.set(["-dontobfuscate"])
keepRulesConfigurations.set(["-keep class j$.** { *; }"])
}
}
Julio Cesar Bueno Cotta
03/25/2022, 10:24 AM$
... I tried to sync the project and I got Could not get unknown property 'L8DexDesugarLibTask'
... googled it I tried to add to the first line of my file import com.android.build.gradle.internal.tasks.L8DexDesugarLibTask
... synching I get
unable to resolve class com.android.build.gradle.internal.tasks.L8DexDesugarLibTask
Any ideas ?Paul Merlin
03/25/2022, 10:27 AM$
🙂
I don’t know about L8DexDesugarLibTask
. What the error says is basically that it’s not in your script dependencies.Paul Merlin
03/25/2022, 10:27 AMJulio Cesar Bueno Cotta
03/25/2022, 10:36 AM