diff --git a/build.gradle.kts b/build.gradle.kts index b1486a4b..20e0ff94 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -96,6 +96,17 @@ tasks { } publishing { + repositories { + maven { + name = "GitHubPackages" + url = uri("https://maven.pkg.github.com/revanced/revanced-patches") + credentials { + username = System.getenv("GITHUB_ACTOR") + password = System.getenv("GITHUB_TOKEN") + } + } + } + publications { create("revanced-patches-publication") { from(components["java"])