Guest User

Untitled

a guest
Jul 19th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2.  
  3. // beginning of boilerplate from AndroidStudio
  4. buildscript {
  5. repositories {
  6. google()
  7. jcenter()
  8. }
  9.  
  10. dependencies {
  11. classpath 'com.android.tools.build:gradle:3.1.3' // replace this as needed
  12.  
  13.  
  14. // NOTE: Do not place your application dependencies here; they belong
  15. // in the individual module build.gradle files
  16. }
  17. }
  18.  
  19. task clean(type: Delete) {
  20. delete rootProject.buildDir
  21. }
  22. // end of boilerplate from AndroidStudio
  23.  
  24. // add this section to your top level build.gralde for access to the Artifactory repository
  25. allprojects {
  26. repositories {
  27. google()
  28. jcenter()
  29. maven {
  30. url "${artifactory_contextUrl}" + "/" + "${artifactory_repoKey}"
  31. credentials {
  32. username = "${artifactory_user}"
  33. password = "${artifactory_password}"
  34. }
  35. }
  36. }
  37. }
Add Comment
Please, Sign In to add comment