GPP is Android's unofficial release automation Gradle Plugin. It can do anything from building, uploading, and then promoting your App Bundle or APK to publishing app listings and other metadata.
I'm migrating an old config for GPP from 2.x to 3.6.0.
The script I'm migrating does some output post-processing to add the version name, which used the outputProcessor block in 2.x.
In GPP's README in commit c8501821deaea3a57a4d22b86ecced676f2c6baf, you replaced the outputProcessor block with a call to onVariantProperties.
Version 3.6.0 of GPP also requires an Android Gradle Plugin version of 7.0 above.
However, as mentioned in this AGP blog post (section titled 'Incubating APIs and important API changes'), version 7.0 of AGP replaces onVariantProperties with onVariants.
So the documentation suggests using an AGP block (android.onVariantProperties) which is no longer available in the minimum AGP version that this plugin supports. Please update the documentation.
Hello,
I'm migrating an old config for GPP from 2.x to 3.6.0.
The script I'm migrating does some output post-processing to add the version name, which used the
outputProcessor
block in 2.x.In GPP's README in commit
c8501821deaea3a57a4d22b86ecced676f2c6baf
, you replaced theoutputProcessor
block with a call to onVariantProperties.Version 3.6.0 of GPP also requires an Android Gradle Plugin version of 7.0 above.
However, as mentioned in this AGP blog post (section titled 'Incubating APIs and important API changes'), version 7.0 of AGP replaces
onVariantProperties
withonVariants
.So the documentation suggests using an AGP block (
android.onVariantProperties
) which is no longer available in the minimum AGP version that this plugin supports. Please update the documentation.