Guest User

Untitled

a guest
Dec 14th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. #### Credentials in Gradle:
  2.  
  3. make:
  4. `~/.gradle/gradle.properties`
  5.  
  6. and add:
  7. ```
  8. mavenUser=<user>
  9. mavenPassword=<pwd>
  10. ```
  11.  
  12. then in the `build.gradle` you can refer to the credentials like:
  13. ```
  14. maven {
  15. credentials {
  16. username mavenUser
  17. password mavenPassword
  18. }
  19. url "..."
  20. }
  21.  
  22. ```
Add Comment
Please, Sign In to add comment