From 97bf96c43a9328e25e43128c68cc57ccf1704de2 Mon Sep 17 00:00:00 2001 From: jack-berg <34418638+jack-berg@users.noreply.github.com> Date: Mon, 25 Mar 2024 16:22:51 -0500 Subject: [PATCH] Use build-tools release 0.24.0 (#55) --- build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index f85b962..c0e2e7e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -50,7 +50,7 @@ nexusPublishing { // start - define tasks to download, unzip, and generate from opentelemetry/semantic-conventions // Using image built from feature branch: https://github.com/open-telemetry/build-tools/tree/feature/codegen-by-namespace // TODO: upgrade to official release when features are incorporated into main -var generatorVersion = "feature-codegen-by-namespace" +var generatorVersion = "0.24.0" val semanticConventionsRepoZip = "https://github.com/open-telemetry/semantic-conventions/archive/v$semanticConventionsVersion.zip" val schemaUrl = "https://opentelemetry.io/schemas/$semanticConventionsVersion" @@ -93,7 +93,7 @@ fun generateTask(taskName: String, incubating: Boolean) { "-v", "$projectDir/$outputDir:/output", "otel/semconvgen:$generatorVersion", "--yaml-root", "/source", - "--strict-validation", "false", + "--continue-on-validation-errors", "compatibility", "code", "--template", "/templates/SemanticAttributes.java.j2", "--output", "/output/{{pascal_prefix}}${classPrefix}Attributes.java",