-
-
Notifications
You must be signed in to change notification settings - Fork 429
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ReVanced project information instead of placeholders. This also fixes failing publication.
- Loading branch information
Showing
5 changed files
with
25 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
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 | ||
} | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ plugins { | |
signing | ||
} | ||
|
||
group = "your.org" | ||
group = "app.revanced" | ||
|
||
repositories { | ||
mavenCentral() | ||
|
@@ -35,14 +35,14 @@ kotlin { | |
tasks { | ||
withType(Jar::class) { | ||
manifest { | ||
attributes["Name"] = "Your Patches" | ||
attributes["Description"] = "Patches for ReVanced." | ||
attributes["Name"] = "ReVanced Patches template" | ||
attributes["Description"] = "Patches template for ReVanced." | ||
attributes["Version"] = version | ||
attributes["Timestamp"] = System.currentTimeMillis().toString() | ||
attributes["Source"] = "[email protected]:you/revanced-patches.git" | ||
attributes["Author"] = "You" | ||
attributes["Contact"] = "contact@your.homepage" | ||
attributes["Origin"] = "https://your.homepage" | ||
attributes["Source"] = "[email protected]:revanced/revanced-patches-template.git" | ||
attributes["Author"] = "ReVanced" | ||
attributes["Contact"] = "contact@revanced.app" | ||
attributes["Origin"] = "https://revanced.app" | ||
attributes["License"] = "GNU General Public License v3.0" | ||
} | ||
} | ||
|
@@ -83,7 +83,7 @@ publishing { | |
repositories { | ||
maven { | ||
name = "GitHubPackages" | ||
url = uri("https://maven.pkg.github.com/you/revanced-patches") | ||
url = uri("https://maven.pkg.github.com/revanced/revanced-patches-template") | ||
credentials { | ||
username = System.getenv("GITHUB_ACTOR") | ||
password = System.getenv("GITHUB_TOKEN") | ||
|
@@ -96,9 +96,9 @@ publishing { | |
from(components["java"]) | ||
|
||
pom { | ||
name = "Your Patches" | ||
description = "Patches for ReVanced." | ||
url = "https://your.homepage" | ||
name = "ReVanced Patches template" | ||
description = "Patches template for ReVanced." | ||
url = "https://revanced.app" | ||
|
||
licenses { | ||
license { | ||
|
@@ -108,15 +108,15 @@ publishing { | |
} | ||
developers { | ||
developer { | ||
id = "Your ID" | ||
name = "Your Name" | ||
email = "contact@your.homepage" | ||
id = "ReVanced" | ||
name = "ReVanced" | ||
email = "contact@revanced.app" | ||
} | ||
} | ||
scm { | ||
connection = "scm:git:git://github.com/you/revanced-patches.git" | ||
developerConnection = "scm:git:[email protected]:you/revanced-patches.git" | ||
url = "https://github.com/you/revanced-patches" | ||
connection = "scm:git:git://github.com/revanced/revanced-patches-template.git" | ||
developerConnection = "scm:git:[email protected]:revanced/revanced-patches-template.git" | ||
url = "https://github.com/revanced/revanced-patches-template" | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
rootProject.name = "revanced-patches" | ||
rootProject.name = "revanced-patches-template" | ||
|
||
buildCache { | ||
local { | ||
|
2 changes: 1 addition & 1 deletion
2
.../your/org/patches/example/ExamplePatch.kt → .../revanced/patches/example/ExamplePatch.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters