Slackbot
03/01/2022, 12:45 AMeric
03/01/2022, 12:52 AMAs an example, the path a:b adds a project with path :a:b, name b and project directory $rootDir/a/b. It also adds the a project with path :a, name a and project directory $rootDir/a, if it does not exist already.
eric
03/01/2022, 12:52 AM:auth:common
but NOT :auth
?ephemient
03/01/2022, 1:57 AMinclude(":auth-common")
project(":auth-common").projectDir = file("auth/common")
tony
03/01/2022, 2:10 AMeric
03/01/2022, 2:44 AMeric
03/01/2022, 2:44 AMeric
03/01/2022, 2:46 AMeric
03/01/2022, 2:57 AMtony
03/01/2022, 3:14 AMeric
03/01/2022, 3:15 AMeric
03/01/2022, 3:15 AMtony
03/01/2022, 3:17 AMeric
03/01/2022, 3:18 AMeric
03/01/2022, 3:18 AMeric
03/01/2022, 3:19 AMtony
03/01/2022, 3:19 AMephemient
03/01/2022, 3:20 AMephemient
03/01/2022, 3:21 AMeric
03/01/2022, 3:22 AMephemient
03/01/2022, 3:23 AMephemient
03/01/2022, 3:23 AMeric
03/01/2022, 3:23 AMephemient
03/01/2022, 3:24 AMeric
03/01/2022, 3:25 AMephemient
03/01/2022, 3:25 AMeric
03/01/2022, 3:26 AMephemient
03/01/2022, 3:27 AMeric
03/01/2022, 3:27 AMeric
03/01/2022, 3:27 AMeric
03/01/2022, 3:27 AMeric
03/01/2022, 3:28 AMeric
03/01/2022, 3:28 AMtony
03/01/2022, 3:54 AMeric
03/01/2022, 4:19 AMeric
03/01/2022, 4:19 AMinclude
calls so the actual settings.gradle doesn’t get modified at all.efemoney
03/01/2022, 8:44 AMtony
03/01/2022, 9:31 AMeric
03/01/2022, 1:31 PMfind
for gradle scripts in the project dir. This takes an extra second or two, but I like the idea of not having any files to maintain.eric
03/01/2022, 1:32 PMeric
03/01/2022, 4:22 PMeric
03/01/2022, 5:08 PMfind
operation, i’m now walking the directory tree more intelligently (doesn’t recurse into src or build dirs) and the whole script to focus a project now takes ~200ms. Curious if you see a benefit to maintaining the modules_overrides.gradle
file vs making it all dynamic?