Releases: Triple-T/gradle-play-publisher
Gradle Play Publisher 3.0.0
Note: Gradle 6.5 and the Android Gradle Plugin v4.1.0 are the new minimum requirements. GPP 2.x will not support AGP 4.1 or above.
New features
- Better compatibility with the
maven-publish
plugin. If present, GPP will now add its dependencies to thepublish
task. - Proxy authentication courtesy of @wintermute766.
Bug fixes
- Fixed a critical issue where
playConfigs
would sometimes inadvertently overwrite each other.
Breaking changes
- All properties now use the Gradle Property API. Upgrade steps: change
foo = blah
tofoo.set(blah)
. For more guidance, see the updated docs. - The
outputProcessor
property has been removed. The same functionality can now be achieved using native AGP APIs. - Support for PKCS12 credentials (aka
.p12
files) has been removed along with theserviceAccountEmail
property. Use JSON credentials instead. - Deprecated task names have been removed.
promo-graphics
are no longer supported in the Publishing API and have been removed.
Behavior changes
Promote task
The promote task now handles its different configuration options more simply. Promotion needs a from track and a promote track. If the fromTrack
isn't specified explicitly, the least stable release track will be used. If the promoteTrack
isn't specified explicitly, it will be assumed that you want to do an in-place update so the resolved fromTrack
will be used. Previously, the track
property was involved in the computation of both other properties.
Gradle Play Publisher 2.8.0
- Support for authenticating GPP with an environment variable! See the docs.
- Support for in-app update priority.
- Fixed an incompatibility with Gradle 6.5.
- Fixed a crash publishing releases to a new track.
- Removed unnecessary warnings.
PS: this release uses a new publishing mechanism, so in theory you can use any of our modules directly (though this isn't officially supported).
Gradle Play Publisher 2.7.5
- Fixed a compatibility issue with Gradle 6.3.
- Fixed a bug causing local release notes to be picked from the
promoteTrack
instead of thefromTrack
.
Gradle Play Publisher 2.7.4
No artifacts were published, please ignore this release.
Gradle Play Publisher 2.7.3
This release fixes a few key bugs:
- Bootstrapping images started failing across various GPP versions due to an API change.
- Using a product flavor named
play
would fail. - GPP would crash on a non-existent mapping file.
In addition, partial compatibility with AGP 4.1.x is now available.
Gradle Play Publisher 2.7.2
This release makes incompatibility errors with the Android Gradle Plugin clearer.
Note: the minimum AGP version was bumped from
3.6.0-rc03
to3.6.0
now that 3.6 stable has shipped.
Gradle Play Publisher 2.7.1
This release fixes a dependency resolution issue caused by googleapis/google-api-java-client#1487.
Gradle Play Publisher 2.7.0
This release is focused on fixing long-standing bugs and minor feature requests.
Note: GPP v2.7 requires at least Gradle 6.2 and the Android Gradle Plugin 3.6.0.
Improvements
- Support for top-level graphics is now available. This means that you can put your app's icon (for example) in
graphics/icon.png
instead ofgraphics/icon/1.png
. - If no local release notes are found, existing release notes from the Play Console will be carried over when publishing your APK or App Bundle.
- You can now upload and/or install debuggable internal sharing artifacts.
- A warning is now logged if your
playConfigs
contain an unrecognized variant, product flavor, or build type.
Bug fixes
- CLI params now always override your build script configuration instead of failing if you had
playConfigs
. - CLI params on lifecycle tasks (such as
promoteArtifact
instead ofpromoteReleaseArtifact
) now propage down to their respective implementation tasks correctly. - The
--artifact-dir
CLI param is now correctly respected in eagerly configured Gradle projects.
Deprecations
- The
--track
CLI param on promotion tasks has been removed as it led to confusing bugs and unpredictable behavior. Use--promote-track
instead.
Gradle Play Publisher 2.6.2
- Fixed incompatibilities with Gradle 6.1 and AGP 4.0
- Improved error message formatting
Gradle Play Publisher 2.6.1
Fixed an issue where promoting a release with R8/Proguard enabled would fail.