1
mirror of https://github.com/revanced/revanced-integrations synced 2024-11-24 20:07:14 +01:00

build: Use Gradle build cache

This commit is contained in:
oSumAtrIX 2023-11-22 00:26:37 +01:00
parent dcca2e5e8d
commit 355acc7023
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4
2 changed files with 14 additions and 8 deletions

View File

@ -9,6 +9,14 @@ buildscript {
} }
} }
allprojects {
repositories {
google()
maven { url = uri("https://jitpack.io") }
mavenCentral()
}
}
// Tracking issue https://github.com/semantic-release/semantic-release/issues/963 // Tracking issue https://github.com/semantic-release/semantic-release/issues/963
tasks.register("publish", DefaultTask::class) { tasks.register("publish", DefaultTask::class) {
group = "publish" group = "publish"

View File

@ -1,12 +1,10 @@
dependencyResolutionManagement { rootProject.name = "revanced-integrations"
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories { buildCache {
google() local {
maven { url = uri("https://jitpack.io") } isEnabled = !System.getenv().containsKey("CI")
mavenCentral()
} }
} }
include(":app") include(":app")
include(":dummy") include(":dummy")
rootProject.name = "revanced-integrations"