We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1990a58 commit f0d7c97Copy full SHA for f0d7c97
smoke-tests/images/quarkus/build.gradle.kts
@@ -26,6 +26,14 @@ val targetJDK = project.findProperty("targetJDK") ?: "17"
26
val tag = findProperty("tag")
27
?: DateTimeFormatter.ofPattern("yyyyMMdd.HHmmSS").format(LocalDateTime.now())
28
29
+java {
30
+ // this is needed to avoid jib failing with
31
+ // "Your project is using Java 21 but the base image is for Java 17"
32
+ // (it seems the jib plugins does not understand toolchains yet)
33
+ sourceCompatibility = JavaVersion.VERSION_17
34
+ targetCompatibility = JavaVersion.VERSION_17
35
+}
36
+
37
jib {
38
from.image = "eclipse-temurin:$targetJDK"
39
to.image = "ghcr.io/open-telemetry/opentelemetry-java-instrumentation/smoke-test-quarkus:jdk$targetJDK-$tag"
0 commit comments