Advertisement
Guest User

Untitled

a guest
May 30th, 2016
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. buildTypes {
  2. release {
  3. minifyEnabled false
  4. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  5. }
  6. }
  7. productFlavors {
  8. flavors_release {
  9. resValue("string", "url", "http://....")
  10. }
  11. flavors_dev {
  12. resValue("string", "url", "http://...")
  13. }
  14. }
  15. uploadArchives {
  16. repositories.mavenDeployer {
  17. repository(url: 'http://127.0.0.1:8081/nexus/content/repositories/test/') {
  18. authentication(userName: "admin",
  19. password: "admin123")
  20. }
  21. pom.project {
  22. name 'mylibrary'
  23. packaging 'aar'
  24. description ''
  25. url 'http://127.0.0.1:8081/nexus/content/repositories/test/'
  26. groupId ""
  27. artifactId ''
  28. version ""
  29. }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement