Skip to content

Commit

Permalink
add foojay and build cache
Browse files Browse the repository at this point in the history
  • Loading branch information
UpcraftLP committed Dec 21, 2024
1 parent 9cf2911 commit febfef3
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,24 @@ pluginManagement {
gradlePluginPortal()
}
}

plugins {
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0'
}

rootProject.name = 'Sparkweave'

def ENV = System.getenv()

buildCache {
remote(HttpBuildCache) {
url = "https://ci-cache.uuid.gg/cache"
if (ENV.CI && ENV.GRADLE_BUILD_CACHE_USER && ENV.GRADLE_BUILD_CACHE_TOKEN) {
push = true
credentials {
username = ENV.GRADLE_BUILD_CACHE_USER
password = ENV.GRADLE_BUILD_CACHE_TOKEN
}
}
}
}

0 comments on commit febfef3

Please sign in to comment.