Slackbot
09/17/2023, 2:17 PMVampire
09/17/2023, 10:58 PMCommon in the main build?Vampire
09/17/2023, 11:00 PMgw :common:base:assembleDebug from the main build directory instead of gw :base:assembleDebug in the common dir?Rajinikanth Maila
09/18/2023, 5:05 AMVampire
09/18/2023, 10:41 AMRajinikanth Maila
09/19/2023, 5:30 AMHow do you includeby pointing the project dir like belowin the main build?Common
include ':common'
project(':common').projectDir = new File(settingsDir, './common/common')
include ':base'
project(':base').projectDir = new File(settingsDir, './common/base')
include ':widgets'
project(':widgets').projectDir = new File(settingsDir, './common/widgets')
You shouldn't need a new task to do what I said, unless you are on an old Gradle version.Agree, but in my actual scenario I need to call multiple commands, with some checks, so I have to go with either custom tasks or .sh script.
Vampire
09/19/2023, 6:57 AMVampire
09/19/2023, 6:58 AM