buildscript {
    repositories {
        mavenCentral()
    }
}

apply plugin: 'eclipse'

task copyApplication(type: Copy) {
    dependsOn ':reviews-application:war'
    from '../reviews-application/build/libs/reviews-application-1.0.war'
    into 'servers/LibertyProjectServer/apps/'
}

task build(dependsOn: ['copyApplication']){
}

task clean {
    delete "servers/LibertyProjectServer/apps"
}
