Advertisement
Guest User

Untitled

a guest
Jul 19th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. rootProject.name = 'testA'
  2.  
  3. group = 'org.test'
  4. version = '0.0.0.1_test'
  5.  
  6. task someZip (type: Zip) {
  7. from './settings.gradle'
  8. archiveName = 'xxx.zip'
  9. destinationDir = file("${buildDir}/test")
  10. }
  11.  
  12. artifacts {
  13. //TODO add something here?
  14. }
  15.  
  16. rootProject.name = 'testB'
  17.  
  18. if (System.getenv('LOCAL_COMPILATION') == 'true') {
  19. includeBuild '../testA'
  20. }
  21.  
  22. if (System.getenv('LOCAL_COMPILATION') != 'true') {
  23. repositories {
  24. maven { url '192.168.1.100' }
  25. }
  26. }
  27.  
  28. configurations {
  29. magic
  30. }
  31.  
  32. dependencies {
  33. magic 'org.test:xxx:0.0.0.+@zip'
  34. }
  35.  
  36. task ultimateZip (type: Zip) {
  37. from configurations.magic
  38. archiveName = 'ultimate.zip'
  39. destinationDir = file("${buildDir}/ultimate-test")
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement