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 final class app/revanced/patches/example/ExamplePatchKt {
public static final field INSTANCE Lapp/revanced/patches/example/ExamplePatch; public static final fun getExamplePatch ()Lapp/revanced/patcher/patch/BytecodePatch;
public fun execute (Lapp/revanced/patcher/data/BytecodeContext;)V
public synthetic fun execute (Lapp/revanced/patcher/data/Context;)V
} }

View File

@@ -1,13 +1,3 @@
[versions] [versions]
revanced-patcher = "19.3.1" revanced-patcher = "20.0.0"
smali = "3.0.7" 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 package app.revanced.patches.example
import app.revanced.patcher.data.BytecodeContext import app.revanced.patcher.patch.bytecodePatch
import app.revanced.patcher.patch.BytecodePatch
import app.revanced.patcher.patch.annotation.CompatiblePackage
import app.revanced.patcher.patch.annotation.Patch
@Patch( @Suppress("unused")
val examplePatch = bytecodePatch(
name = "Example Patch", name = "Example Patch",
description = "This is an example patch to start with.", description = "This is an example patch to start with.",
compatiblePackages = [ ) {
CompatiblePackage("com.example.app", ["1.0.0"]), compatibleWith("com.example.app"("1.0.0"))
],
) execute {
@Suppress("unused")
object ExamplePatch : BytecodePatch(emptySet()) {
override fun execute(context: BytecodeContext) {
// TODO("Not yet implemented") // TODO("Not yet implemented")
} }
} }