feat: Enable local build cache (#4117)

This commit is contained in:
James Rich
2026-01-02 14:45:19 -06:00
committed by GitHub
parent 6950c8f01b
commit 00ce0d7fc0

View File

@@ -77,6 +77,21 @@ develocity {
}
publishing.onlyIf { false }
}
buildCache {
local {
isEnabled = true
}
// remote(HttpBuildCache::class.java) {
// isAllowInsecureProtocol = true
// // Replace with your selfhosted instance address
// // see: https://docs.gradle.org/current/userguide/build_cache.html#sec:build_cache_setup_http_backend
// url = uri("http://<your-build-cache-ip-here>:5071/cache/")
//
// // Allow this machine to upload results to the cache
// isPush = true
//
// }
}
}
@Suppress("UnstableApiUsage")