More attempts to fix cache misses
MODIFY
build.gradle
build.gradle
@@ -56,12 +56,6 @@ allprojects {
downloadSources = false
}
}
-
- tasks.withType(JavaForkOptions).configureEach {
- maxHeapSize = System.properties["otel.forkedMaxHeapSize"]
- minHeapSize = System.properties["otel.forkedMinHeapSize"]
- jvmArgs "-XX:ErrorFile=/tmp/hs_err_pid%p.log"
- }
}
apply plugin: 'com.diffplug.gradle.spotless'

MODIFY
settings.gradle
settings.gradle
@@ -19,11 +19,13 @@ gradleEnterprise {
apply plugin: 'com.github.burrunan.s3-build-cache'
+def awsAccessKeyId = System.getenv("S3_BUILD_CACHE_ACCESS_KEY_ID")
+
buildCache {
remote(com.github.burrunan.s3cache.AwsS3BuildCache) {
region = 'us-west-2'
bucket = 'opentelemetry-java-instrumentation-gradle-test1'
- push = isCI && !System.getenv('S3_BUILD_CACHE_ACCESS_KEY_ID')?.isBlank()
+ push = isCI && awsAccessKeyId != null && !awsAccessKeyId.isEmpty()
}
}

More attempts to fix cache misses (#1074)