Skip to content

Commit

Permalink
Add systemd module in linux and freebsd archives
Browse files Browse the repository at this point in the history
Signed-off-by: Florent David <[email protected]>
  • Loading branch information
Ripolin committed Jul 13, 2022
1 parent bbc4aed commit ddf47d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions distribution/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ ext.restTestExpansions = [
// loop over modules to also setup cross task dependencies and increment our modules counter
project.rootProject.subprojects.findAll { it.parent.path == ':modules' }.each { Project module ->
if (module.name == 'systemd') {
// the systemd module is only included in the package distributions
// the systemd module is only included in the package distributions or in linux and freebsd archives
return
}
File licenses = new File(module.projectDir, 'licenses')
Expand Down Expand Up @@ -367,7 +367,7 @@ configure(subprojects.findAll { ['archives', 'packages'].contains(it.name) }) {
if (BuildParams.isSnapshotBuild()) {
from(buildExternalTestModulesTaskProvider)
}
if (project.path.startsWith(':distribution:packages')) {
if (project.path.startsWith(':distribution:packages') || ['freebsd-x64','linux-x64', 'linux-arm64'].contains(platform)) {
from(buildSystemdModuleTaskProvider)
}
}
Expand Down

0 comments on commit ddf47d7

Please sign in to comment.