Guest User

Untitled

a guest
Jul 11th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. ##############################################################################
  2. # Examine the build.gradle file to see if its timestamp has changed;
  3. # and if so, regenerate the .gradle_tasks cache file
  4. ############################################################################
  5. _gradle_does_task_list_need_generating () {
  6. if [[ ! .gradletasknamecache -nt build.gradle ]]
  7. then
  8. return 0
  9. fi
  10.  
  11. [ $(find . -name build.gradle -type file -newer .gradletasknamecache) ]
  12. }
Add Comment
Please, Sign In to add comment