Timeline for How force gradle to refresh/reload what (lib) directory contains?
Current License: CC BY-SA 4.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 1, 2020 at 9:53 | history | edited | Sean Reilly | CC BY-SA 4.0 |
Add combined example solving additional issue raised in comments
|
| Apr 1, 2020 at 7:07 | vote | accept | tostao | ||
| Mar 31, 2020 at 21:27 | comment | added | Sean Reilly | This is because the updateTxt command doesn't have an action declared — so the files are listed at configuration time, before the copyTxt command executes. You can fix this by putting the updateTxt command's file listing code inside a doFirst block, as in this gist: gist.github.com/seanjreilly/3b3c726276e9fdc3819dcd71954efc76 | |
| Mar 31, 2020 at 20:09 | comment | added | tostao |
Here you can check sample project: github.com/sleski/android-gradle-copy-task If you type: ./gradlew copyTxt updateTxt in console you will see: 0-text2.txt but it should be 0-text1.txt, which you can see in files structure.
|
|
| Mar 31, 2020 at 19:47 | comment | added | tostao | Does not work. Tomorrow I create sample project, may I do something wrong. | |
| Mar 31, 2020 at 19:17 | history | answered | Sean Reilly | CC BY-SA 4.0 |