Fixed
Status Update
Comments
ri...@google.com <ri...@google.com>
ga...@google.com <ga...@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?
hu...@google.com <hu...@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.
Description
Kotlin Gradle plugin 1.8.0 was migrated to expose compiler options with Gradle properties API. This API prohibits inputs modification on Gradle execution phase.
kgpUtils.kt#addComposeArgsToKotlinCompile
kotlinOptions.freeCompilerArgs
in taskdoFirst
action.With KGP 1.8.0 this will produce warning message in build log and in next major versions it fill fail the build.