Skip to content

Gradle Play Publisher 2.0.0 beta 1

Pre-release
Pre-release
Compare
Choose a tag to compare
@SUPERCILEX SUPERCILEX released this 07 Oct 19:12
· 395 commits to master since this release

Features and improvements

  • Support Android App Bundles - #262, #319
  • Support promoting existing releases - #389, #284, #104
  • Support publishing in-app purchases - #322, #181
  • Allow overriding configuration via command line options - #326
  • Allow bootstrapping only certain listing metadata - #375, #372
  • Fully support multi-dimensional flavors - #130, #311
  • Fill missing metadata with data from the default language - #107, #323
  • Support Gradle cache and incremental builds - #304, #308
  • Support Gradle task configuration avoidance - #388
  • Support different resolution strategies in case of version conflicts - #301
  • Add group tasks to publish all variants at once - #117, #273
  • Move all public tasks to "Publishing" group instead of "Play Store" - #365
  • Improve error messages and logging - #238, #268
  • Add status indicators and upload progress - #298

Bug fixes

  • Don't upload the universal APK if splits are provided - #393, #380
  • Provide publishing tasks even when signingConfig is missing - #244, #298
  • Don't upload 0 byte mapping files - #370, #319
  • A ton of other fixes we didn't track 😅

Maintenance

  • Convert plugin to Kotlin
  • Bump Android Publisher plugin version to v3
  • Moved package from de.triplet.gradle.play to com.github.triplet.gradle.play

Breaking changes

Updated listings structure

As a precondition for supporting multi-dimensional flavors, the structure of listings metadata
has changed:

For example, english listing files have moved:

../play/en-US/listing/shortdescription --> ../play/listings/en-US/shortdescription

The new structure and file names are available here.

Removed configuration properties

  • uploadImages: Since the plugin now makes use of Gradle's caching system and incremental builds
    (#308) to only upload images if they have changed, this property has become obsolete.
  • untrackOld: With the introduction of conflict resolution strategies (#301), this property has
    become obsolete.
  • errorOnSizeLimit: The plugin will now always error on size limit to provide deterministic
    behavior.
Simplified Service Account credentials API

The jsonFile and pk12File properties have been replaced with a unified
serviceAccountCredentials property.

Renamed tasks to follow AGP conventions

For example, publishApkRelease -> publishReleaseApk. Note: the old tasks are still available for
now, but will be removed in a future release.

AGP no longer bundled

The AGP needs to be depended on explicitly.