react-native-webview.git

CI.gradle 768B

12345678910111213141516171819202122232425
  1. // Fetch all dependencies upfront
  2. task fetchDependencies() {
  3. description 'Download all dependencies to the Gradle cache'
  4. group 'android'
  5. doLast {
  6. project.rootProject.allprojects.each { subProject ->
  7. subProject.buildscript.configurations.each {config ->
  8. if(config.canBeResolved) {
  9. config.files
  10. }
  11. }
  12. subProject.configurations.each {config ->
  13. if(config.canBeResolved) {
  14. // DefaultLenientConfiguration$ArtifactResolveException
  15. try {
  16. config.files
  17. } catch(e) {
  18. println e
  19. }
  20. }
  21. }
  22. }
  23. }
  24. }