Build: Pass offline flag through to bwc build (#34367)
This commit makes the bwc build aware of the offline flag passed to the outer build. closes #34361
This commit is contained in:
parent
d7a94fb6aa
commit
4b7257d971
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue