Skip to content

Commit

Permalink
build(Needs bump): Use correct Maven repository URL
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Sep 6, 2023
1 parent c299817 commit 86c1c9c
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 7 deletions.
6 changes: 6 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,9 @@ plugins {
kotlin("jvm") version "1.9.0" apply false
alias(libs.plugins.binary.compatibility.validator)
}

allprojects {
apply(plugin = "maven-publish")

group = "app.revanced"
}
32 changes: 28 additions & 4 deletions revanced-patch-annotations-processor/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
plugins {
kotlin("jvm") version "1.9.0"
`maven-publish`
alias(libs.plugins.ksp)
}

group = "app.revanced"

dependencies {
implementation(libs.symbol.processing.api)
implementation(libs.kotlinpoet.ksp)
Expand Down Expand Up @@ -35,7 +32,7 @@ publishing {
mavenLocal()
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/revanced/revanced-patch-annotations-processor")
url = uri("https://maven.pkg.github.com/revanced/revanced-patcher")
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
Expand All @@ -45,6 +42,33 @@ publishing {
publications {
create<MavenPublication>("gpr") {
from(components["java"])

version = project.version.toString()

pom {
name = "ReVanced Patch annotations processor"
description = "Annotation processor for patches."
url = "https://revanced.app"

licenses {
license {
name = "GNU General Public License v3.0"
url = "https://www.gnu.org/licenses/gpl-3.0.en.html"
}
}
developers {
developer {
id = "ReVanced"
name = "ReVanced"
email = "contact@revanced.app"
}
}
scm {
connection = "scm:git:git://github.com/revanced/revanced-patcher.git"
developerConnection = "scm:git:git@github.com:revanced/revanced-patcher.git"
url = "https://github.com/revanced/revanced-patcher"
}
}
}
}
}
30 changes: 27 additions & 3 deletions revanced-patcher/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
plugins {
kotlin("jvm") version "1.9.0"
`maven-publish`
}

group = "app.revanced"

dependencies {
implementation(libs.kotlinx.coroutines.core)
implementation(libs.xpp3)
Expand Down Expand Up @@ -53,6 +50,33 @@ publishing {
publications {
create<MavenPublication>("gpr") {
from(components["java"])

version = project.version.toString()

pom {
name = "ReVanced Patcher"
description = "Patcher used by ReVanced."
url = "https://revanced.app"

licenses {
license {
name = "GNU General Public License v3.0"
url = "https://www.gnu.org/licenses/gpl-3.0.en.html"
}
}
developers {
developer {
id = "ReVanced"
name = "ReVanced"
email = "contact@revanced.app"
}
}
scm {
connection = "scm:git:git://github.com/revanced/revanced-patcher.git"
developerConnection = "scm:git:git@github.com:revanced/revanced-patcher.git"
url = "https://github.com/revanced/revanced-patcher"
}
}
}
}
}

0 comments on commit 86c1c9c

Please sign in to comment.