https://kotlinlang.org logo
Title
r

Richard Happe

04/03/2023, 4:54 PM
Quick question about proguard. The library documentation says that no additional setup is needed because the library includes its own rules file. Is there a way to add the "dependency" on this proguard file in my app build.gradle file under the build flavors for
proguardFiles
or is the suggestion to copy the rules into my own proguard rules file?
My thought process here is that it would be mostly ideal to depend on the library proguard file directly instead of maintaining my own. That way if the library updates I don't have to know or take any manual action.
e

ephemient

04/03/2023, 4:59 PM
AGP already extracts the proguard rules of dependencies and includes them
r

Richard Happe

04/03/2023, 5:07 PM
That's honestly how I would have expected it to work. I think maybe I'm just on an old enough version. Is this new in 1.5?
r

Richard Happe

04/03/2023, 5:09 PM
Thanks!
I appreciate you taking the time to reply.