File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -178,11 +178,11 @@ tasks.register('connectorSystemZip', Zip) {
178178 outputs. dir " ${ fileStagingDir} /${ data} /universe/planetary_systems"
179179}
180180
181- tasks. register(" copyLicenseFiles " , Sync ) {
182- description = " Copy the license files to the root of the folder."
181+ tasks. register(" stageLicenseFiles " , Sync ) {
182+ description = " Copy the license files to the build folder."
183183 group = ' build'
184184 from " ../"
185- into fileStagingDir
185+ into " ${ layout.buildDirectory.get() } /licenses "
186186
187187 includes = [
188188 ' LICENSE' ,
@@ -193,6 +193,16 @@ tasks.register("copyLicenseFiles", Sync) {
193193
194194}
195195
196+ tasks. register(" copyLicenseFiles" , Copy ) {
197+ description " Copies from the build folder to the staging folder"
198+ group = ' build'
199+
200+ dependsOn stageLicenseFiles
201+
202+ from " ${ layout.buildDirectory.get()} /licenses"
203+ into fileStagingDir
204+ }
205+
196206tasks. register(' stageFiles' , Copy ) {
197207 description = ' Stages files that are to be copied into the distribution.'
198208
You can’t perform that action at this time.
0 commit comments