Guest User

Untitled

a guest
Dec 13th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. apply plugin: 'com.android.library'
  2. apply plugin: 'maven'
  3.  
  4. android {
  5. ...
  6. }
  7.  
  8. dependencies {
  9. ...
  10. }
  11.  
  12. uploadArchives {
  13. repositories {
  14. mavenDeployer {
  15. repository(url:"http://xxx.git") {
  16. authentication(userName: "xxx", password: "xxx")
  17. }
  18. pom.groupId = 'com.abc.mylib'
  19. pom.artifactId = 'mylib'
  20. pom.version = '1.0.0'
  21. }
  22. }
  23. }
  24.  
  25. Could not find artifact com.abc.mylib:mylib:pom:1.0.0 in remote (http://xxx.git)
  26. Could not find artifact com.abc.mylib:mylib:aar:1.0.0 in remote (http://xxx.git)
  27. :mylib:uploadArchives FAILED
  28.  
  29. FAILURE: Build failed with an exception.
Add Comment
Please, Sign In to add comment