mirror of
https://github.com/ReVanced/revanced-patches-template.git
synced 2026-01-10 05:16:19 +00:00
build(Needs bump): Bump ReVanced Patcher
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
public final class app/revanced/patches/example/ExamplePatch : app/revanced/patcher/patch/BytecodePatch {
|
||||
public static final field INSTANCE Lapp/revanced/patches/example/ExamplePatch;
|
||||
public fun execute (Lapp/revanced/patcher/data/BytecodeContext;)V
|
||||
public synthetic fun execute (Lapp/revanced/patcher/data/Context;)V
|
||||
public final class app/revanced/patches/example/ExamplePatchKt {
|
||||
public static final fun getExamplePatch ()Lapp/revanced/patcher/patch/BytecodePatch;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,13 +1,3 @@
|
||||
[versions]
|
||||
revanced-patcher = "19.3.1"
|
||||
revanced-patcher = "20.0.0"
|
||||
smali = "3.0.7"
|
||||
binary-compatibility-validator = "0.14.0"
|
||||
kotlin = "2.0.0"
|
||||
|
||||
[libraries]
|
||||
revanced-patcher = { module = "app.revanced:revanced-patcher", version.ref = "revanced-patcher" }
|
||||
smali = { module = "com.android.tools.smali:smali", version.ref = "smali" }
|
||||
|
||||
[plugins]
|
||||
binary-compatibility-validator = { id = "org.jetbrains.kotlinx.binary-compatibility-validator", version.ref = "binary-compatibility-validator" }
|
||||
kotlin = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
|
||||
|
||||
@@ -1,20 +1,15 @@
|
||||
package app.revanced.patches.example
|
||||
|
||||
import app.revanced.patcher.data.BytecodeContext
|
||||
import app.revanced.patcher.patch.BytecodePatch
|
||||
import app.revanced.patcher.patch.annotation.CompatiblePackage
|
||||
import app.revanced.patcher.patch.annotation.Patch
|
||||
import app.revanced.patcher.patch.bytecodePatch
|
||||
|
||||
@Patch(
|
||||
@Suppress("unused")
|
||||
val examplePatch = bytecodePatch(
|
||||
name = "Example Patch",
|
||||
description = "This is an example patch to start with.",
|
||||
compatiblePackages = [
|
||||
CompatiblePackage("com.example.app", ["1.0.0"]),
|
||||
],
|
||||
)
|
||||
@Suppress("unused")
|
||||
object ExamplePatch : BytecodePatch(emptySet()) {
|
||||
override fun execute(context: BytecodeContext) {
|
||||
) {
|
||||
compatibleWith("com.example.app"("1.0.0"))
|
||||
|
||||
execute {
|
||||
// TODO("Not yet implemented")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user