mirror of
https://github.com/ReVanced/revanced-patches.git
synced 2024-11-10 01:01:56 +01:00
refactor: Rename net.revanced
to app.revanced
BREAKING CHANGE: Package name was changed from "net.revanced" to "app.revanced"
This commit is contained in:
parent
7068f7f2ad
commit
68ea89f15e
5 changed files with 26 additions and 26 deletions
|
@ -4,7 +4,7 @@ plugins {
|
||||||
`maven-publish`
|
`maven-publish`
|
||||||
}
|
}
|
||||||
|
|
||||||
group = "net.revanced"
|
group = "app.revanced"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
@ -29,7 +29,7 @@ dependencies {
|
||||||
implementation("org.ow2.asm:asm-tree:9.2")
|
implementation("org.ow2.asm:asm-tree:9.2")
|
||||||
implementation("org.ow2.asm:asm-commons:9.2")
|
implementation("org.ow2.asm:asm-commons:9.2")
|
||||||
|
|
||||||
implementation("net.revanced:revanced-patcher:1.+") // use latest version.
|
implementation("app.revanced:revanced-patcher:1.+") // use latest version.
|
||||||
}
|
}
|
||||||
|
|
||||||
java {
|
java {
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package net.revanced.patches
|
package app.revanced.patches
|
||||||
|
|
||||||
import net.revanced.patcher.patch.Patch
|
import app.revanced.patcher.patch.Patch
|
||||||
import net.revanced.patches.ads.VideoAds
|
import app.revanced.patches.ads.VideoAds
|
||||||
import net.revanced.patches.layouts.CreateButtonRemover
|
import app.revanced.patches.layouts.CreateButtonRemover
|
||||||
import net.revanced.patches.layouts.MinimizedPlayback
|
import app.revanced.patches.layouts.MinimizedPlayback
|
||||||
import kotlin.reflect.KClass
|
import kotlin.reflect.KClass
|
||||||
|
|
||||||
/**
|
/**
|
|
@ -1,12 +1,12 @@
|
||||||
package net.revanced.patches.ads
|
package app.revanced.patches.ads
|
||||||
|
|
||||||
import net.revanced.patcher.cache.Cache
|
import app.revanced.patcher.cache.Cache
|
||||||
import net.revanced.patcher.patch.Patch
|
import app.revanced.patcher.patch.Patch
|
||||||
import net.revanced.patcher.patch.PatchResult
|
import app.revanced.patcher.patch.PatchResult
|
||||||
import net.revanced.patcher.patch.PatchResultError
|
import app.revanced.patcher.patch.PatchResultError
|
||||||
import net.revanced.patcher.patch.PatchResultSuccess
|
import app.revanced.patcher.patch.PatchResultSuccess
|
||||||
import net.revanced.patcher.signature.Signature
|
import app.revanced.patcher.signature.Signature
|
||||||
import net.revanced.patcher.writer.ASMWriter.insertAt
|
import app.revanced.patcher.writer.ASMWriter.insertAt
|
||||||
import org.objectweb.asm.Opcodes
|
import org.objectweb.asm.Opcodes
|
||||||
import org.objectweb.asm.Type
|
import org.objectweb.asm.Type
|
||||||
import org.objectweb.asm.tree.MethodInsnNode
|
import org.objectweb.asm.tree.MethodInsnNode
|
|
@ -1,10 +1,10 @@
|
||||||
package net.revanced.patches.layouts
|
package app.revanced.patches.layouts
|
||||||
|
|
||||||
import net.revanced.patcher.cache.Cache
|
import app.revanced.patcher.cache.Cache
|
||||||
import net.revanced.patcher.patch.Patch
|
import app.revanced.patcher.patch.Patch
|
||||||
import net.revanced.patcher.patch.PatchResult
|
import app.revanced.patcher.patch.PatchResult
|
||||||
import net.revanced.patcher.patch.PatchResultSuccess
|
import app.revanced.patcher.patch.PatchResultSuccess
|
||||||
import net.revanced.patcher.writer.ASMWriter.insertAt
|
import app.revanced.patcher.writer.ASMWriter.insertAt
|
||||||
import org.objectweb.asm.Opcodes
|
import org.objectweb.asm.Opcodes
|
||||||
import org.objectweb.asm.tree.MethodInsnNode
|
import org.objectweb.asm.tree.MethodInsnNode
|
||||||
import org.objectweb.asm.tree.VarInsnNode
|
import org.objectweb.asm.tree.VarInsnNode
|
|
@ -1,9 +1,9 @@
|
||||||
package net.revanced.patches.layouts
|
package app.revanced.patches.layouts
|
||||||
|
|
||||||
import net.revanced.patcher.cache.Cache
|
import app.revanced.patcher.cache.Cache
|
||||||
import net.revanced.patcher.patch.Patch
|
import app.revanced.patcher.patch.Patch
|
||||||
import net.revanced.patcher.patch.PatchResult
|
import app.revanced.patcher.patch.PatchResult
|
||||||
import net.revanced.patcher.patch.PatchResultSuccess
|
import app.revanced.patcher.patch.PatchResultSuccess
|
||||||
|
|
||||||
class MinimizedPlayback : Patch("minimized-playback") {
|
class MinimizedPlayback : Patch("minimized-playback") {
|
||||||
override fun execute(cache: Cache): PatchResult {
|
override fun execute(cache: Cache): PatchResult {
|
Loading…
Reference in a new issue