Add release signing, versioning and dist task
- Version defined once; versionCode = MAJOR*10000 + MINOR*100 + PATCH - Optional release signing from ~/.gradle/gradle.properties - ./gradlew dist copies signed APKs to dist/ with Obtainium-friendly names Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -11,7 +11,7 @@ Audit your device, fine-tune permissions and settings, and undo every change.
|
||||
|
||||
Install and update through [Obtainium](https://obtainium.imranr.dev) with the button above, or add
|
||||
`https://git.mrblake.cc/MrBlake/Pixelwall` as an app source. Releases ship two APKs: pick `core`
|
||||
(no network permission) or `full` with Obtainium's APK filter. No releases yet, the first one follows at the end of the roadmap.
|
||||
(no network permission) or `full` with Obtainium's APK filter.
|
||||
|
||||
## Build variants
|
||||
|
||||
@@ -29,6 +29,15 @@ Requirements: JDK 21, Android SDK (platform 37).
|
||||
./gradlew check # unit tests, lint, network permission check
|
||||
```
|
||||
|
||||
## Releasing
|
||||
|
||||
Release APKs are signed with a key kept outside the repository. Configure it in `~/.gradle/gradle.properties`
|
||||
(`pixelwall.signing.storeFile`, `.storePassword`, `.keyAlias`, `.keyPassword`); without it the release APKs are unsigned.
|
||||
|
||||
```sh
|
||||
./gradlew dist # signed APKs in dist/ as pixelwall-<flavor>-v<version>.apk
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
GPLv3, see [LICENSE](LICENSE).
|
||||
|
||||
Reference in New Issue
Block a user