ππ§©Template repository for ReVanced Patches
Continuing the legacy of Vanced
ππ§© ReVanced Patches template
Template repository for ReVanced Patches.
β About
This is a template to create a new ReVanced Patches repository. The repository can have multiple patches, and patches from other repositories can be used together.
For an example repository, see ReVanced Patches.
π Get started
To start using this template, follow these steps:
- Create a new repository using this template
- Set up the build.gradle.kts file (Specifically, the group of the project,
- Update dependencies in the libs.versions.toml file
- Create a pass-phrased GPG master key and subkey
- Set up the README.md file[^1] (e.g, title, description, license, summary of the patches
π You are now ready to start creating patches!
[^1]: Example README.md file [^2]: Example issue templates [^3]: Example contribution guidelines
π Optional steps
You can also add the following things to the repository:
- API documentation, if you want to publish your patches as a library
π§βπ» Usage
To develop and release ReVanced Patches using this template, some things need to be considered:
- Development starts in feature branches. Once a feature branch is ready, it is squashed and merged into the
devbranch - The
devbranch is merged into themainbranch once it is ready for release - Semantic versioning is used to version ReVanced Patches. ReVanced Patches have a public API for other patches to use
- Semantic commit messages are used for commits
- Commits on the
devbranch andmainbranch are automatically released
dev or main branch.
The workflow uses the publish task to publish the release of ReVanced Patches
- The
buildAndroidtask is used to build ReVanced Patches so that it can be used on Android.
publish task depends on the buildAndroid task, so it will be run automatically when publishing a release.
π Everything else
π Contributing
Thank you for considering contributing to ReVanced Patches template. You can find the contribution guidelines here.
π οΈ Building
To build ReVanced Patches template, you can follow the ReVanced documentation.
π Licence
ReVanced Patches template is licensed under the GPLv3 licence. Please see the license file for more information. tl;dr you may copy, distribute and modify ReVanced Patches template as long as you track changes/dates in source files. Any modifications to ReVanced Patches template must also be made available under the GPL, along with build & install instructions.