Skip to content

Commit

Permalink
refactor: Rename net.revanced to app.revanced
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Package name was changed from "net.revanced" to "app.revanced"
  • Loading branch information
Sculas authored and oSumAtrIX committed Jun 5, 2022
1 parent 310a7c4 commit 7087230
Show file tree
Hide file tree
Showing 15 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
`maven-publish`
}

group = "net.revanced"
group = "app.revanced"

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package net.revanced.patcher
package app.revanced.patcher

import net.revanced.patcher.cache.Cache
import net.revanced.patcher.patch.Patch
import net.revanced.patcher.resolver.MethodResolver
import net.revanced.patcher.signature.Signature
import net.revanced.patcher.util.Io
import app.revanced.patcher.cache.Cache
import app.revanced.patcher.patch.Patch
import app.revanced.patcher.resolver.MethodResolver
import app.revanced.patcher.signature.Signature
import app.revanced.patcher.util.Io
import org.objectweb.asm.tree.ClassNode
import java.io.IOException
import java.io.InputStream
Expand All @@ -17,7 +17,7 @@ import java.io.OutputStream
* @param input the input stream to read from, must be a JAR
* @param output the output stream to write to
* @param signatures the signatures
* @sample net.revanced.patcher.PatcherTest
* @sample app.revanced.patcher.PatcherTest
* @throws IOException if one of the streams are closed
*/
class Patcher(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.revanced.patcher.cache
package app.revanced.patcher.cache

import org.objectweb.asm.tree.ClassNode

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.revanced.patcher.cache
package app.revanced.patcher.cache

import net.revanced.patcher.resolver.MethodResolver
import net.revanced.patcher.signature.Signature
import app.revanced.patcher.resolver.MethodResolver
import app.revanced.patcher.signature.Signature
import org.objectweb.asm.tree.ClassNode
import org.objectweb.asm.tree.MethodNode

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package net.revanced.patcher.patch
package app.revanced.patcher.patch

import net.revanced.patcher.cache.Cache
import app.revanced.patcher.cache.Cache

abstract class Patch(val patchName: String) {
abstract fun execute(cache: Cache): PatchResult
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.revanced.patcher.patch
package app.revanced.patcher.patch

interface PatchResult {
fun error(): PatchResultError? {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package net.revanced.patcher.resolver
package app.revanced.patcher.resolver

import mu.KotlinLogging
import net.revanced.patcher.cache.MethodMap
import net.revanced.patcher.cache.PatchData
import net.revanced.patcher.cache.PatternScanData
import net.revanced.patcher.signature.Signature
import net.revanced.patcher.util.ExtraTypes
import app.revanced.patcher.cache.MethodMap
import app.revanced.patcher.cache.PatchData
import app.revanced.patcher.cache.PatternScanData
import app.revanced.patcher.signature.Signature
import app.revanced.patcher.util.ExtraTypes
import org.objectweb.asm.Type
import org.objectweb.asm.tree.ClassNode
import org.objectweb.asm.tree.InsnList
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.revanced.patcher.resolver
package app.revanced.patcher.resolver

internal data class ScanResult(
val found: Boolean,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.revanced.patcher.signature
package app.revanced.patcher.signature

import org.objectweb.asm.Type

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.revanced.patcher.util
package app.revanced.patcher.util

import org.objectweb.asm.Type

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.revanced.patcher.util
package app.revanced.patcher.util

import org.objectweb.asm.ClassReader
import org.objectweb.asm.ClassWriter
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.revanced.patcher.writer
package app.revanced.patcher.writer

import org.objectweb.asm.tree.AbstractInsnNode
import org.objectweb.asm.tree.InsnList
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package net.revanced.patcher
package app.revanced.patcher

import net.revanced.patcher.cache.Cache
import net.revanced.patcher.patch.Patch
import net.revanced.patcher.patch.PatchResult
import net.revanced.patcher.patch.PatchResultSuccess
import net.revanced.patcher.signature.Signature
import net.revanced.patcher.util.ExtraTypes
import net.revanced.patcher.util.TestUtil
import net.revanced.patcher.writer.ASMWriter.insertAt
import net.revanced.patcher.writer.ASMWriter.setAt
import app.revanced.patcher.cache.Cache
import app.revanced.patcher.patch.Patch
import app.revanced.patcher.patch.PatchResult
import app.revanced.patcher.patch.PatchResultSuccess
import app.revanced.patcher.signature.Signature
import app.revanced.patcher.util.ExtraTypes
import app.revanced.patcher.util.TestUtil
import app.revanced.patcher.writer.ASMWriter.insertAt
import app.revanced.patcher.writer.ASMWriter.setAt
import org.junit.jupiter.api.assertDoesNotThrow
import org.objectweb.asm.Opcodes.*
import org.objectweb.asm.Type
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.revanced.patcher
package app.revanced.patcher

import java.io.ByteArrayOutputStream
import kotlin.test.Test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.revanced.patcher.util
package app.revanced.patcher.util

import org.objectweb.asm.tree.AbstractInsnNode
import org.objectweb.asm.tree.FieldInsnNode
Expand Down

0 comments on commit 7087230

Please sign in to comment.