ibzib commented on a change in pull request #13711:
URL: https://github.com/apache/beam/pull/13711#discussion_r554262202
##########
File path: sdks/java/container/common.gradle
##########
@@ -60,8 +59,12 @@ task copySdkHarnessLauncher(type: Copy) {
into "build/target"
}
-task copyPulledLicenses(type: Copy) {
- from configurations.pulledLicenses
+task copyJavaThirdPartyLicenses(type: Copy) {
+ dependsOn ':sdks:java:container:pullLicenses'
+ from("${project(':sdks:java:container').buildDir}/build/target") {
+ include 'third_party_licenses/*'
+ include 'java_third_party_licenses/*'
Review comment:
[license_script.sh](https://github.com/apache/beam/blob/master/sdks/java/container/license_scripts/license_script.sh)
copies everything from `build/target/java_third_party_licenses` into
`build/target/third_party_licenses`, so IIUC we shouldn't copy
`java_third_party_licenses` again here.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]