build.gradle 1.81 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
apply plugin: 'eclipse-wtp'
apply plugin: 'war'

jar {
    manifest {
        attributes 'Implementation-Title': 'Connector-Service', 'Implementation-Version': version
    }
}

repositories {
    mavenCentral()
}

dependencies {
	compile group: 'commons-collections', name: 'commons-collections', version: '3.2'
	compile group: 'org.springframework', name: 'spring-context', version: springVersion
	compile group: 'org.springframework', name: 'spring-webmvc', version: springVersion
	compile group: 'org.springframework', name: 'spring-jdbc', version: springVersion
	compile group: 'org.springframework', name: 'spring-tx', version: springVersion
	compile group: 'org.springframework.security', name: 'spring-security-web', version: springSecurityVersion
	compile group: 'org.springframework.security', name: 'spring-security-config', version: springSecurityVersion
	compile group: 'org.springframework.security', name: 'spring-security-ldap', version: springSecurityVersion
	compile group: 'mysql', name: 'mysql-connector-java', version: '5.1.+'
	compile group: 'javax.servlet', name: 'javax.servlet-api', version: '3.0+'
	compile group: 'org.codehaus.jackson', name: 'jackson-mapper-lgpl', version: '1.9+'
	compile group: 'org.hsqldb', name: 'hsqldb', version: '2.2+'
	compile group: 'cglib', name: 'cglib', version: '3.0+'
	compile group: 'de.thm.arsnova.connector', name: 'connector-model', version: '0.+'
	compile group: 'de.thm.arsnova.connector', name: 'connector-client', version: '0.+'
	 
    testCompile group: 'junit', name: 'junit', version: '4.+'
    testCompile group: 'org.mockito', name: 'mockito-core', version: '1.9.+'
    testCompile group: 'org.dbunit', name: 'dbunit', version: '2.4.+'
}

test {
    systemProperties 'property': 'value'
}

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