diff --git a/java-secretmanager/.github/.OwlBot.yaml b/java-secretmanager/.github/.OwlBot.yaml index f9e2e064ae50..8595b466eea1 100644 --- a/java-secretmanager/.github/.OwlBot.yaml +++ b/java-secretmanager/.github/.OwlBot.yaml @@ -16,6 +16,7 @@ docker: image: "gcr.io/cloud-devrel-public-resources/owlbot-java:latest" deep-remove-regex: +- "/samples/snippets/generated" - "/grpc-google-.*/src" - "/proto-google-.*/src" - "/google-.*/src" @@ -36,3 +37,5 @@ deep-copy-regex: dest: "/owl-bot-staging/$1/grpc-google-cloud-secretmanager-$1/src" - source: "/google/cloud/secretmanager/(v\\d)/.*-java/gapic-google-.*/src" dest: "/owl-bot-staging/$1/google-cloud-secretmanager/src" +- source: "/google/cloud/secretmanager/(v\\d)/.*-java/samples/snippets/generated" + dest: "/owl-bot-staging/$1/samples/snippets/generated" diff --git a/java-secretmanager/samples/native-image-sample/.sdkmanrc b/java-secretmanager/samples/native-image-sample/.sdkmanrc new file mode 100644 index 000000000000..403b4ac502e0 --- /dev/null +++ b/java-secretmanager/samples/native-image-sample/.sdkmanrc @@ -0,0 +1,3 @@ +# Enable auto-env through the sdkman_auto_env config +# Add key=value pairs of SDKs to use below +java=11.0.14-ms diff --git a/java-secretmanager/samples/native-image-sample/pom.xml b/java-secretmanager/samples/native-image-sample/pom.xml index 373095358bde..a549cf29c78e 100644 --- a/java-secretmanager/samples/native-image-sample/pom.xml +++ b/java-secretmanager/samples/native-image-sample/pom.xml @@ -141,6 +141,7 @@ --no-fallback --no-server + --allow-incomplete-classpath @@ -165,4 +166,4 @@ - \ No newline at end of file +