Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add patch annotation processor #231

Merged
merged 3 commits into from
Sep 4, 2023
Merged

Commits on Sep 4, 2023

  1. feat!: Remove patch annotations

    Annotations required reflection and working with them turned out to be rather cumbersome. The annotations have been replaced with properties for the most part.
    
    BREAKING CHANGE: Patch annotations have been removed. PatcherException is now thrown in various places. PatchBundleLoader is now a map of patches associated by their name. Patches are now instances.
    oSumAtrIX committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    3b4db3d View commit details
    Browse the repository at this point in the history
  2. refactor: Move ReVanced Patcher to sub-project

    This allows other sub-projects to exist.
    oSumAtrIX committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    4dd0497 View commit details
    Browse the repository at this point in the history
  3. feat!: Add patch annotation processor

    This commit introduces an annotation processor for patches. Patches can use the `@Patch` instead of super constructor parameters.
    
    BREAKING CHANGE: The manifest for patches has been removed, and the properties have been added to patches. Patches are now `OptionsContainer`. The `@Patch` annotation has been removed in favour of the `@Patch` annotation from the annotation processor.
    oSumAtrIX committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    3fc6a13 View commit details
    Browse the repository at this point in the history