This PR uses dirname & basename for figuring out where the Gradle dependency cache should be saved/restored from instead of using GRADLE_RO_DEP_CACHE_BASE_FOLDER & GRADLE_RO_DEP_CACHE_FOLDER_NAMEenv vars.
We could do this without depending on dirname & basename, but this is clearer than pure Bash solution, so I think the tradeoff is worth it.
This PR uses
dirname
&basename
for figuring out where the Gradle dependency cache should be saved/restored from instead of usingGRADLE_RO_DEP_CACHE_BASE_FOLDER
&GRADLE_RO_DEP_CACHE_FOLDER_NAME
env
vars.We could do this without depending on
dirname
&basename
, but this is clearer than pure Bash solution, so I think the tradeoff is worth it.