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', 'Implementation-Version': version
    }
}

repositories {
	mavenLocal()
    mavenCentral()
}

dependencies {
	compile project (':pdf-as-lib')
	compile project (':stamper:stmp-itext')
	compile project (':signature-standards:sigs-pcks7detached')
	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.slf4j', name: 'slf4j-log4j12', version: '1.7.5'
    testCompile group: 'junit', name: 'junit', version: '4.+'
}

test {
    systemProperties 'property': 'value'
}

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