Fixed
Status Update
Comments
be...@google.com <be...@google.com>
be...@google.com <be...@google.com> #2
As I understand it, we need to migrate namespace definitions both from AndroidManifest.xml
and from implicit definitions from applicationId
/ testApplicationId
? Is that right? So an 8.0 project would have a
namespace <n>
testNamespace <tn>
where <n> is taken from AndroidManifest.xml
package
definitions if present, and applicationId
if not, and <tn>
is testApplicationId
if present and <n>.test
if not?
sa...@google.com <sa...@google.com> #3
Sorry for the confusion. AGP would change how it computes the namespace for the androidTest variant. All the Upgrade assistant would need to do is update the source code for the import of the R
class.
ju...@google.com <ju...@google.com>
ga...@google.com <ga...@google.com> #4
OK! And, I think, this should happen at the same time as the namespace
declaration is migrated from AndroidManifest.xml
?
Description
These plugins should be in
gradle-api
but this can only happens onceBasePlugin.getExtension()
which is a breaking change.This should happen in 8.0