clayburn commented on code in PR #1665: URL: https://github.com/apache/samza/pull/1665#discussion_r1188807291
########## settings.gradle: ########## @@ -16,6 +16,39 @@ * specific language governing permissions and limitations * under the License. */ +plugins { + id 'com.gradle.enterprise' version '3.13.1' + id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.10' +} + +def isGithubActions = System.getenv('GITHUB_ACTIONS') != null +def isJenkins = System.getenv('JENKINS_URL') != null +def isCI = isGithubActions || isJenkins + +gradleEnterprise { + server = "https://ge.apache.org" + buildScan { + capture { taskInputFiles = true } + uploadInBackground = !isCI + publishAlways() + publishIfAuthenticated() + obfuscation { + // This obfuscates the IP addresses of the build machine in the build scan. + // Alternatively, the build scan will provide the hostname for troubleshooting host-specific issues. + ipAddresses { addresses -> addresses.collect { address -> "0.0.0.0"} } + } + } +} + +buildCache { + local { + enabled = !isCI + } + + remote(gradleEnterprise.buildCache) { + enabled = false + } Review Comment: This would help build performance, but there is work to do on the Gradle Enterprise instance before offering caching to ASF projects. It is on our roadmap to offer in the future, and we'll offer PRs when it is ready. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@samza.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org