Questions tagged [android-gradle-plugin-7]

3 questions
8
votes
2 answers

Ambiguous method overloading for method com.android.build.gradle.internal.core.MergedFlavor#setSigningConfig after updating to gradle 7

I've just updated gradle from 6 to 7 and AGP from 4 to 7. There is part of my gradle setup that stopped compiling. applicationVariants.all { variant -> if (variant.getName().contains("prodSe")) { …
1
vote
1 answer

Replacement of com.android.build.api.transform.Transform classes

I could see in the android document that Transform classes are deprecated but I could not see the new API which we should use instead of Transform classes. Any ideas?
nantitv
  • 3,539
  • 4
  • 38
  • 61
0
votes
0 answers

facing issue for resValue and buildConfigFields when i change AGP version to 7.1.3 from 4.0.1

Below is my code snippet. afterEvaluate { applicationVariants.all { variant -> variant.getPreBuildProvider().configure() { it.doFirst { resValue "string", "app_name", "API33Demo" } …