build(Needs bump): Use ReVanced Patches Gradle plugin to configure the build system

This commit is contained in:
oSumAtrIX
2024-07-18 04:30:10 +02:00
parent afde3145e6
commit 624a4964c1
13 changed files with 70 additions and 152 deletions

View File

@@ -1,7 +1,20 @@
rootProject.name = "revanced-patches-template"
buildCache {
local {
isEnabled = "CI" !in System.getenv()
pluginManagement {
repositories {
gradlePluginPortal()
google()
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/revanced/registry")
credentials {
username = providers.gradleProperty("gpr.user").orNull ?: System.getenv("GITHUB_ACTOR")
password = providers.gradleProperty("gpr.key").orNull ?: System.getenv("GITHUB_TOKEN")
}
}
}
}
plugins {
id("app.revanced.patches") version "1.0.0-dev.4"
}