File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -354,10 +354,6 @@ tasks.register('buildDeb', Deb) {
354
354
configure(commonDebConfig(' x64' ))
355
355
}
356
356
357
- tasks. named(' assemble' ){
358
- dependsOn ' buildDeb' , ' buildAarch64Deb'
359
- }
360
-
361
357
Closure commonRpmConfig (String architecture ) {
362
358
return {
363
359
configure(commonPackageConfig(' rpm' , architecture))
@@ -391,11 +387,6 @@ tasks.register('buildRpm', Rpm) {
391
387
configure(commonRpmConfig(' x64' ))
392
388
}
393
389
394
- tasks. named(' assemble' ){
395
- dependsOn ' buildRpm' , ' buildAarch64Rpm'
396
- }
397
-
398
-
399
390
Closure dpkgExists = { it -> new File (' /bin/dpkg-deb' ). exists() || new File (' /usr/bin/dpkg-deb' ). exists() || new File (' /usr/local/bin/dpkg-deb' ). exists() }
400
391
Closure rpmExists = { it -> new File (' /bin/rpm' ). exists() || new File (' /usr/bin/rpm' ). exists() || new File (' /usr/local/bin/rpm' ). exists() }
401
392
@@ -409,6 +400,11 @@ subprojects {
409
400
410
401
String buildTask = " build${ it.name.replaceAll(/-[a-z]/) { it.substring(1).toUpperCase() }.capitalize()} "
411
402
ext. buildDist = parent. tasks. named(buildTask)
403
+ tasks. named(' assemble' ). configure {
404
+ dependsOn buildDist
405
+ }
406
+
407
+ // deprecated here for backwards compatibility of DistroTestPlugin and DistributionDownloadPlugin
412
408
artifacts {
413
409
' default' buildDist
414
410
}
You can’t perform that action at this time.
0 commit comments