fix dependency

This commit is contained in:
Jörg Prante 2016-10-18 09:35:11 +02:00
parent 240983e9ec
commit 16f09e2dc4

View file

@ -1,6 +1,6 @@
group = 'org.xbib' group = 'org.xbib'
version = '4.0' version = '4.0.2'
apply plugin: 'java' apply plugin: 'java'
apply plugin: 'maven' apply plugin: 'maven'
@ -20,7 +20,7 @@ configurations {
dependencies { dependencies {
compile "javax.inject:javax.inject:1" compile "javax.inject:javax.inject:1"
compile 'javax.annotation:javax.annotation-api:1.2' compile 'org.xbib:jsr-305:1.0.0'
compile "com.google.guava:guava:19.0" compile "com.google.guava:guava:19.0"
testCompile "junit:junit:4.12" testCompile "junit:junit:4.12"
testCompile "org.apache.logging.log4j:log4j-slf4j-impl:2.5" testCompile "org.apache.logging.log4j:log4j-slf4j-impl:2.5"
@ -64,11 +64,9 @@ uploadArchives {
if (project.hasProperty("xbibUsername")) { if (project.hasProperty("xbibUsername")) {
mavenDeployer { mavenDeployer {
configuration = configurations.wagon configuration = configurations.wagon
repository( repository(url: uri('scpexe://xbib.org/repository')) {
id: 'xbib.org', authentication(userName: xbibUsername, privateKey: xbibPrivateKey)
url: uri('scpexe://xbib.org/repository'), }
authentication: [userName: xbibUsername, privateKey: xbibPrivateKey]
)
pom.project { pom.project {
inceptionYear '2016' inceptionYear '2016'
licenses { licenses {