ATEST-74:

- setup gradle multibuild
This commit is contained in:
Zellweger Christof Ralf
2015-06-10 14:18:37 +02:00
parent e583619af5
commit a26dd2424d
5 changed files with 13 additions and 41 deletions

View File

@ -1,49 +1,15 @@
apply plugin: 'java'
apply plugin: 'eclipse'
sourceCompatibility = 1.8
version = '1.0.0'
group = 'ch.psi.daq'
repositories {
mavenLocal()
mavenCentral()
maven { url "http://slsyoke4.psi.ch:8081/artifactory/libs-releases" }
maven { url "http://slsyoke4.psi.ch:8081/artifactory/libs-snapshots" }
}
dependencies {
compile 'ch.psi.daq:cassandra:1.0.0'
compile project(':ch.psi.daq.cassandra')
compile 'org.springframework.boot:spring-boot-starter-web:1.2.3.RELEASE'
compile 'org.apache.commons:commons-lang3:3.4'
testCompile group: 'junit', name: 'junit', version: '4.+'
}
apply plugin: 'maven'
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives sourcesJar
archives javadocJar
}
uploadArchives {
repositories {
mavenDeployer {
repository(url: "http://slsyoke4.psi.ch:8081/artifactory/libs-snapshots-local"){
authentication(userName: "upload", password: "{DESede}eWKHxAtQ2Dc=")
}
pom.groupId = 'ch.psi.daq'
pom.artifactId = 'rest'
}
}
}
}