Skip to content

Releases: xmartlabs/android-snapshot-publisher

2.4.1

01 Feb 14:50
d126731
Compare
Choose a tag to compare

Changes

  • Support AGP 4.1

2.4.0

06 Oct 23:38
504a741
Compare
Choose a tag to compare

Changes

  • Change min Android Gradle plugin gradle version to 7.0.0.
  • Upgrade Google Play Publisher dependency to v3.6.0.
  • Update Core libraries

2.3.0-AGP7.0

21 Jun 19:06
d6032a2
Compare
Choose a tag to compare

Changes

  • Upgrade Google Play Publisher dependency to v3.4.0-agp7.0.
  • Change min Android Gradle plugin gradle version to 7.0.0-beta01.

2.3.0

12 Jun 16:42
096e44a
Compare
Choose a tag to compare

Changes

  • AGP 4.2.x support
  • Update dependencies
  • Change min Android Gradle plugin gradle version to 4.2.0.

2.2.0

29 Oct 17:49
c42c05c
Compare
Choose a tag to compare

Changes

  • Upgrade Google Play Publisher dependency to v3.0.0.
  • Change min required gradle version to 6.5.0.
  • Change min Android Gradle plugin gradle version to 4.1.0.

Breaking changes

  • After AGP 4.1 the version name cannot be applied only to specific plugin tasks. In turn, it's applied in the configuration step, causing all builds to contain versionNameFormat. AGP 4.2 fixes this issue but is still in alpha. If you're using a lower version of AGP, you can use the version of 2.1.0.

2.1.0

31 Jan 18:00
1ceeb3f
Compare
Choose a tag to compare

Changes

  • Upgrade Google Play Publisher dependency to v2.6.2.
  • Change min required gradle version to 6.0.

2.0.0

15 Oct 21:25
1fb1c0f
Compare
Choose a tag to compare

Changes

Firebase app distribution migration

Google deprecated and migrated Fabric Craslytics Beta to Firebase app distribution.
The documentation specifies the required changes to use the new tool.

Migration:

Change plugin dependency setup:

  • Version 1x:
buildscript {
  repositories {
    maven { url "https://plugins.gradle.org/m2/" }
    maven { url 'https://maven.fabric.io/public' } // Remove it
  }
  dependencies {
     classpath "com.xmartlabs:snapshot-publisher:1.0.4" // Replace version
  }
}
  • Version 2x:
buildscript {
  repositories {
    gradlePluginPortal()
    google() // Add it
  }
  dependencies {
     classpath "com.xmartlabs:snapshot-publisher:2.0.0" // Replace version
  }
}

Change the previous fabric block to the new firebaseAppDistribution block:

  • Version 1x:
snapshotPublisher {
    fabric {
        distributionEmails = "[email protected]"
        distributionGroupAliases = "tester-group"
        distributionNotifications = true // Must be deleted
    }
    // ...
}
  • Version 2x:
snapshotPublisher {
    firebaseAppDistribution {
        distributionEmails =  "[email protected]"
        distributionGroupAliases = "tester-group"
        appId = null // New parameter
        serviceAccountCredentials = "/path/to/your-service-account-key.json" // new parameter
    }
    // ...
}
  • appId: Your app's Firebase App ID.
    Required only if you don't have the google services gradle plugin installed.
    You can find the App ID in the google-services.json file or in the Firebase console on the General Settings page.
    The value in your build.gradle file overrides the value output from the google-services gradle plugin.
  • serviceAccountCredentials: The path to your service account private key JSON file.
    To release to Firebase you must create a Google service account with Firebase Quality Admin role.
    If you don't have a service account, you can create one following this guide.

Breaking changes

  • Fabric Craslytics Beta integration was removed
  • Google Play's service credential account file path was changed to a credential file path.

Migration:

  • Version 1x:
snapshotPublisher {
    googlePlay {
       serviceAccountCredentials = file("/path/to/your-service-account-key.json")
    }
    // ...
}
  • version 2x:
snapshotPublisher {
    googlePlay {
       serviceAccountCredentials = "/path/to/your-service-account-key.json"
    }
    // ...
}

1.0.4

02 Oct 19:53
d91a0f1
Compare
Choose a tag to compare

Changes

  • Upgrade Google Play publisher plugin version to 2.4.1 (#36)
  • Upgrade Fabric plugin version to 1.31.1 (#37)

1.0.3

20 May 14:06
9a98c74
Compare
Choose a tag to compare

Fixes

  • Fix release notes issue when previous commit was a merge commit (#31)

1.0.2

30 Apr 21:50
9642baa
Compare
Choose a tag to compare

New Features

  • Allow to use the debuggable build types in Fabric's Beta. (#30)