https://github.com/liuxb-tofu/v3rotatesignerplugin
Android V3 signature itself supports old-key rotation, but the AGP plugin does not support this feature. Therefore, if you need to update your Android app signing key, you can use this plugin.
https://github.com/liuxb-tofu/v3rotatesignerplugin
android android-gradle-plugin android-signing
Last synced: 24 days ago
JSON representation
Android V3 signature itself supports old-key rotation, but the AGP plugin does not support this feature. Therefore, if you need to update your Android app signing key, you can use this plugin.
- Host: GitHub
- URL: https://github.com/liuxb-tofu/v3rotatesignerplugin
- Owner: liuxb-tofu
- License: apache-2.0
- Created: 2024-03-30T12:41:22.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-12T10:29:41.000Z (about 2 years ago)
- Last Synced: 2025-01-21T16:46:07.802Z (over 1 year ago)
- Topics: android, android-gradle-plugin, android-signing
- Language: Kotlin
- Homepage:
- Size: 110 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## V3RotateSignerPlugin
*Read this in other languages: [English](README.md), [简体中文](README_zh.md).*
Android V3 signature itself supports old-key rotation, but the AGP plugin does not support this feature. Therefore, if you need to update your Android app signing key, you can use this plugin.
## How to use
```kotlin
plugins {
// Put it at the bottom to make sure it executes last
id("io.github.blookliu.v3-rotate-signer")
}
V3SigningConfig {
oldKeyStore.storeFile = file("$projectDir/keystores/old-key.keystore")
oldKeyStore.storePassword = "abcd1234"
newKeyStore.storeFile = file("$projectDir/keystores/new-key.keystore")
newKeyStore.storePassword = "abcd1234"
lineage = file("$projectDir/keystores/lineage")
// Whether to use an independent gradle task, v3RotateSign${variantName}
useSingleTask = false
}
```