Build: Pass offline flag through to bwc build
This commit makes the bwc build aware of the offline flag passed to the outer build.
closes
@@ -179,6 +179,9 @@ subprojects {
} else {
executable new File(checkoutDir, 'gradlew').toString()
}
+ if (gradle.startParameter.isOffline()) {
+ args "--offline"
+ }
for (String dir : projectDirs) {
args ":${dir.replace('/', ':')}:assemble"
}
