initial commit

This commit is contained in:
Zellweger Christof Ralf
2015-05-27 16:59:20 +02:00
parent d4e8617ae2
commit 0fe81045d5
21 changed files with 138 additions and 18 deletions

49
build.gradle Normal file
View File

@ -0,0 +1,49 @@
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 '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'
}
}
}