apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'eclipse-wtp'
apply plugin: 'war'
apply plugin: 'jetty'

sourceCompatibility = 1.5

jar {
    manifest {
        attributes 'Implementation-Title': 'PDF-AS-WEB'
    }
}

repositories {
	mavenLocal()
    mavenCentral()
}

dependencies {
	compile project (':pdf-as-lib')
	compile project (':signature-standards:sigs-pkcs7detached')
	compile project (':signature-standards:sigs-pades')
	compile group: 'commons-fileupload', name: 'commons-fileupload', version: '1.2'
    compile group: 'commons-collections', name: 'commons-collections', version: '3.2'
	compile group: 'org.apache.commons', name: 'commons-io', version: '1.3.2'
	compile group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.7.5'
	compile group: 'opensymphony', name: 'sitemesh', version: '2.4.2'
	compile 'javax.xml.ws:jaxws-api:2.2.11'
	compile 'com.sun.xml.ws:jaxws-rt:2.2.8'
	compile 'com.sun.xml.bind:jaxb-impl:2.2.7'
	compile group: 'org.apache.pdfbox', name: 'pdfbox', version: '1.8.5'
	providedCompile "javax.servlet:servlet-api:2.5"
    testCompile group: 'junit', name: 'junit', version: '4.+'
}

test {
    systemProperties 'property': 'value'
}

uploadArchives {
    repositories {
       flatDir {
           dirs 'repos'
       }
    }
}