Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Core
- def APACHE_PATH_CLASSES = "C:/Program Files/Apache Software Foundation/Tomcat 7.0/webapps/servlet/WEB-INF/classes"
- dependencies {
- compile project(':ProjectA')
- compile project(':ProjectB')
- compile project(':ProjectC')
- // Project D not important
- }
- sourceSets {
- main {
- //output.resourcesDir = 'C:/Program Files/Apache Software Foundation/Tomcat 7.0/webapps/servlet/WEB-INF/classes'
- //output.classesDir = 'C:/Program Files/Apache Software Foundation/Tomcat 7.0/webapps/servlet/WEB-INF/classes'
- output.resourcesDir = "$APACHE_PATH_CLASSES"
- output.classesDir = "$APACHE_PATH_CLASSES"
- }
- main {
- java {
- exclude 'temp/**'
- }
- jar {
- duplicatesStrategy= DuplicatesStrategy.EXCLUDE
- }
- resources {
- exclude 'lib/**'
- // AND MORE EXCLUDES
- // ......
- }
- }
- test {
- output.classesDir = 'C:/Program Files/Apache Software Foundation/Tomcat 7.0/webapps/servlet/WEB-INF/classes/'
- }
- test {
- include 'test/SetUp.class' // TO TEST FROM THE TEST SUITE
- }
- test {
- testLogging {
- events 'started', 'passed'
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement