Skip to content

Commit

Permalink
Fix invalid copy task configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
cwrothrock authored Dec 9, 2022
1 parent dbcdec7 commit 9b905a8
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions sdks/java/container/common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,10 @@ task copyGolangLicenses(type: Copy) {
task copyJdkOptions(type: Copy) {
if (imageJavaVersion == "17" || imageJavaVersion == "11") {
from "option-jamm.json"
into "build/target/options"
}

into("build/target/options") {
from "jdk${imageJavaVersion}-tls.properties"
from "option-tls-${imageJavaVersion}.json"
}
from "jdk${imageJavaVersion}-tls.properties"
from "option-tls-${imageJavaVersion}.json"
into "build/target/options"
}

task skipPullLicenses(type: Exec) {
Expand Down Expand Up @@ -134,4 +131,4 @@ dockerPrepare.dependsOn copySdkHarnessLauncher
dockerPrepare.dependsOn copyDockerfileDependencies
dockerPrepare.dependsOn ":sdks:java:container:downloadCloudProfilerAgent"
dockerPrepare.dependsOn copyJdkOptions
dockerPrepare.dependsOn validateJavaHome
dockerPrepare.dependsOn validateJavaHome

0 comments on commit 9b905a8

Please sign in to comment.