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