Commit bdd485b
committed
Create GRADLE_USER_HOME if it doesn't exist before symlinking caches
os.Symlink fails with "no such file or directory" when the parent
directory of the link target doesn't exist. Add MkdirAll so the
restore command works on machines where ~/.gradle has never been created.1 parent afc33de commit bdd485b
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
277 | 280 | | |
278 | 281 | | |
279 | 282 | | |
| |||
0 commit comments