I am in the process of upgrading from Android Gradle 4.1.3 to 7.0.2. One of the things I've noticed is that for my com.android.library module, the
getByName("foo") {
...
}
now has a receiver type of LibraryBuildType as opposed to BuildType that it used to. This LibraryBuildType no longer has the isDebuggable property, which BuildType used to have.
The official android docs mention that
If your app depends on a library module that you also want to debug, that library must also be packaged with
debuggable trueso it retains its debug symbols.
Obviously these docs are out of date, but what gives? Is debuggable true no longer needed for library modules?
I've found the git log for LibraryBuildType, which shows it was added around April of 2020, but I have not found any information about this in the android gradle plugin release notes
