Skip to content

A Gradle plugin that automatically sets release signingConfigs when the given keystore is valid.

License

Notifications You must be signed in to change notification settings

duckie-team/android-autosigning-plugin

Repository files navigation

android-autosigning-plugin

A Gradle plugin that automatically sets release signingConfigs when the given keystore is valid.


Download maven-central

plugins {
    id("land.sungbin.android.autosigning.plugin") version "$version"
}

Usage

signingInfo {
    secretPath = "$rootDir/keystore/secrets.txt"
    keystoreSecrets { secretFile ->
        val lines = secretFile.readLines()
        land.sungbin.android.autosigning.KeystoreSecrets(
            storePath = "$rootDir/keystore/quack.pepk",
            storePassword = lines[0],
            keyAlias = lines[1],
            keyPassword = lines[0],
        )
    }
}

License

This project is licensed under the MIT License. Please refer to the LICENSE file for details.

About

A Gradle plugin that automatically sets release signingConfigs when the given keystore is valid.

Topics

Resources

License

Stars

Watchers

Forks

Languages