refactor: Rename net.revanced to app.revanced

BREAKING CHANGE: Package name was changed from "net.revanced" to "app.revanced"
This commit is contained in:
Lucaskyy 2022-03-21 22:06:24 +01:00
parent 7068f7f2ad
commit 68ea89f15e
No known key found for this signature in database
GPG Key ID: 1530BFF96D1EEB89
5 changed files with 26 additions and 26 deletions

View File

@ -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 {

View File

@ -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
/** /**

View File

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

View File

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

View File

@ -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 {