Advertisement
Guest User

Untitled

a guest
Aug 19th, 2015
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. // Core
  2.  
  3. def APACHE_PATH_CLASSES = "C:/Program Files/Apache Software Foundation/Tomcat 7.0/webapps/servlet/WEB-INF/classes"
  4.  
  5. dependencies {
  6. compile project(':ProjectA')
  7. compile project(':ProjectB')
  8. compile project(':ProjectC')
  9. // Project D not important
  10. }
  11.  
  12. sourceSets {
  13. main {
  14. //output.resourcesDir = 'C:/Program Files/Apache Software Foundation/Tomcat 7.0/webapps/servlet/WEB-INF/classes'
  15. //output.classesDir = 'C:/Program Files/Apache Software Foundation/Tomcat 7.0/webapps/servlet/WEB-INF/classes'
  16. output.resourcesDir = "$APACHE_PATH_CLASSES"
  17. output.classesDir = "$APACHE_PATH_CLASSES"
  18. }
  19.  
  20. main {
  21. java {
  22. exclude 'temp/**'
  23.  
  24. }
  25.  
  26. jar {
  27. duplicatesStrategy= DuplicatesStrategy.EXCLUDE
  28. }
  29.  
  30. resources {
  31. exclude 'lib/**'
  32. // AND MORE EXCLUDES
  33. // ......
  34. }
  35. }
  36.  
  37. test {
  38. output.classesDir = 'C:/Program Files/Apache Software Foundation/Tomcat 7.0/webapps/servlet/WEB-INF/classes/'
  39. }
  40.  
  41. test {
  42. include 'test/SetUp.class' // TO TEST FROM THE TEST SUITE
  43. }
  44.  
  45. test {
  46. testLogging {
  47. events 'started', 'passed'
  48. }
  49. }
  50.  
  51. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement