Skip to content

Commit 97bf96c

Browse files
authored
Use build-tools release 0.24.0 (#55)
1 parent a411d9a commit 97bf96c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ nexusPublishing {
5050
// start - define tasks to download, unzip, and generate from opentelemetry/semantic-conventions
5151
// Using image built from feature branch: https://github.com/open-telemetry/build-tools/tree/feature/codegen-by-namespace
5252
// TODO: upgrade to official release when features are incorporated into main
53-
var generatorVersion = "feature-codegen-by-namespace"
53+
var generatorVersion = "0.24.0"
5454
val semanticConventionsRepoZip = "https://github.com/open-telemetry/semantic-conventions/archive/v$semanticConventionsVersion.zip"
5555
val schemaUrl = "https://opentelemetry.io/schemas/$semanticConventionsVersion"
5656

@@ -93,7 +93,7 @@ fun generateTask(taskName: String, incubating: Boolean) {
9393
"-v", "$projectDir/$outputDir:/output",
9494
"otel/semconvgen:$generatorVersion",
9595
"--yaml-root", "/source",
96-
"--strict-validation", "false",
96+
"--continue-on-validation-errors", "compatibility",
9797
"code",
9898
"--template", "/templates/SemanticAttributes.java.j2",
9999
"--output", "/output/{{pascal_prefix}}${classPrefix}Attributes.java",

0 commit comments

Comments
 (0)