Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. compile ('de.test:project1:1.0.0')
  2.  
  3. plugins {
  4. id 'java'
  5. id 'maven-publish'
  6. }
  7. dependencies {
  8. // compile project(':project1')
  9. compile ('de.test:project1:1.0.0')
  10. testCompile 'junit:junit:4.12'
  11. }
  12. sourceCompatibility = JavaVersion.VERSION_1_8
  13. targetCompatibility = JavaVersion.VERSION_1_8
  14. publishing {
  15. publications {
  16. publish(MavenPublication) {
  17. groupId 'de.test'
  18. artifactId 'project2'
  19. version '1.0.0'
  20. from components.java
  21. }
  22. }
  23. }
  24.  
  25. rootProject.name = 'project1'
  26.  
  27. allprojects {
  28. group 'de.test'
  29. version '1.0.0'
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement