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