Skip to content

Commit

Permalink
fix: edit the schema.json to keep the good JAVA basePackage
Browse files Browse the repository at this point in the history
  • Loading branch information
scraly authored Sep 12, 2024
1 parent 1335d2d commit 9fde15b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ build_go:: install_plugins tfgen # build the go sdk

build_java:: PACKAGE_VERSION := $(shell pulumictl get version --language generic)
build_java:: bin/pulumi-java-gen
${SED} -e 's/com.ovhcloud/com.ovhcloud.pulumi/g' provider/cmd/$(PROVIDER)/schema.json

$(WORKING_DIR)/bin/$(JAVA_GEN) generate --schema provider/cmd/$(PROVIDER)/schema.json --out sdk/java --build gradle-nexus

echo "update java version in build.gradle" && cd ./sdk/java/ && ${SED} -e 's/of(11)/of(21)/g' build.gradle
Expand Down

0 comments on commit 9fde15b

Please sign in to comment.