build(Needs bump): Bump ReVanced Patcher

This commit is contained in:
oSumAtrIX
2024-06-18 00:45:58 +02:00
parent afd7f3b99b
commit afde3145e6
3 changed files with 10 additions and 27 deletions

View File

@@ -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;
}

View File

@@ -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" }

View File

@@ -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")
}
}