Update fake backend
MODIFY
smoke-tests/images/fake-backend/build.gradle
smoke-tests/images/fake-backend/build.gradle
@@ -3,11 +3,11 @@ import com.bmuschko.gradle.docker.tasks.image.DockerPushImage
plugins {
id "java"
- id "com.google.cloud.tools.jib" version "3.1.4"
- id "com.bmuschko.docker-remote-api" version "6.7.0"
- id "com.github.johnrengelman.shadow" version "6.1.0"
- id "de.undercouch.download" version "4.1.1"
- id "com.diffplug.spotless" version "6.1.2"
+ id "com.google.cloud.tools.jib" version "3.2.1"
+ id "com.bmuschko.docker-remote-api" version "7.3.0"
+ id "com.github.johnrengelman.shadow" version "7.1.2"
+ id "de.undercouch.download" version "5.0.4"
+ id "com.diffplug.spotless" version "6.4.2"
}
group = "io.opentelemetry"
@@ -30,9 +30,9 @@ spotless {
}
dependencies {
- implementation("com.linecorp.armeria:armeria-grpc:1.0.0")
- implementation("io.opentelemetry:opentelemetry-proto:1.3.0-alpha")
- implementation("org.slf4j:slf4j-simple:1.7.30")
+ implementation("com.linecorp.armeria:armeria-grpc:1.15.0")
+ implementation("io.opentelemetry.proto:opentelemetry-proto:0.16.0-alpha")
+ runtimeOnly("org.slf4j:slf4j-simple:1.7.36")
}
shadowJar {

ADD
smoke-tests/images/fake-backend/gradle.properties
+org.gradle.parallel=true
+org.gradle.caching=true
+
+org.gradle.priority=low
+
+# Gradle default is 256m which causes issues with our build - https://docs.gradle.org/current/userguide/build_environment.html#sec:configuring_jvm_memory
+# Also workaround https://github.com/diffplug/spotless/issues/834
+org.gradle.jvmargs=-XX:MaxMetaspaceSize=512m \
+ --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
+ --add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
+ --add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED \
+ --add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED \
+ --add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \
+ --add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED \
+ --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
+ --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED \
+ --add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED \
+ --add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED
+
+# Currently causes failure when importing project in IntelliJ
+# org.gradle.warning.mode=fail
+
+# To allow caching more tasks in buildSrc project
+# This property is not mentioned in Gradle documentation
+# See https://github.com/gradle/gradle/issues/15214 for background info
+systemProp.org.gradle.kotlin.dsl.precompiled.accessors.strict=true
+
+# Workaround https://youtrack.jetbrains.com/issue/KT-34862
+kotlin.incremental=false

Update fake backend (#5800)