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) {
355355 configure(commonDebConfig(' x64' ))
356356}
357357
358- tasks. named(' assemble' ){
359- dependsOn ' buildDeb' , ' buildAarch64Deb'
360- }
361-
362358Closure commonRpmConfig (String architecture ) {
363359 return {
364360 configure(commonPackageConfig(' rpm' , architecture))
@@ -392,11 +388,6 @@ tasks.register('buildRpm', Rpm) {
392388 configure(commonRpmConfig(' x64' ))
393389}
394390
395- tasks. named(' assemble' ){
396- dependsOn ' buildRpm' , ' buildAarch64Rpm'
397- }
398-
399-
400391Closure dpkgExists = { it -> new File (' /bin/dpkg-deb' ). exists() || new File (' /usr/bin/dpkg-deb' ). exists() || new File (' /usr/local/bin/dpkg-deb' ). exists() }
401392Closure rpmExists = { it -> new File (' /bin/rpm' ). exists() || new File (' /usr/bin/rpm' ). exists() || new File (' /usr/local/bin/rpm' ). exists() }
402393
@@ -410,6 +401,11 @@ subprojects {
410401
411402 String buildTask = " build${ it.name.replaceAll(/-[a-z]/) { it.substring(1).toUpperCase() }.capitalize()} "
412403 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
413409 artifacts {
414410 ' default' buildDist
415411 }
You can’t perform that action at this time.
0 commit comments