Advertisement
Guest User

Untitled

a guest
Feb 16th, 2017
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. allprojects {
  2. group = 'pl..common'
  3. version = '1.0'
  4.  
  5. apply plugin: 'maven'
  6.  
  7. repositories {
  8. if (System.env['JENKINS_URL'] == null) {
  9. maven {
  10. url = 'http://artifactory-java.corp..com:8081/artifactory/repo'
  11. credentials {
  12. username = ''
  13. password = ''
  14. }
  15. }
  16. }
  17. }
  18. }
  19.  
  20. subprojects {
  21. uploadArchives {
  22. repositories {
  23. mavenDeployer {
  24. repository(url: uri('/home/userName/.m2/repository'))
  25. }
  26. }
  27. }
  28. }
  29.  
  30.  
  31. --------------
  32. settings.gradle:
  33. rootProject.name = 'gradle-plugins'
  34.  
  35. include 'xxxPlugins'
  36. include 'goodbyeWorldPlugin'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement