diff --git a/build.gradle b/build.gradle index 74ba627..f821edc 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ group = 'org.xbib' -version = '4.0' +version = '4.0.2' apply plugin: 'java' apply plugin: 'maven' @@ -20,7 +20,7 @@ configurations { dependencies { 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" testCompile "junit:junit:4.12" testCompile "org.apache.logging.log4j:log4j-slf4j-impl:2.5" @@ -64,11 +64,9 @@ uploadArchives { if (project.hasProperty("xbibUsername")) { mavenDeployer { configuration = configurations.wagon - repository( - id: 'xbib.org', - url: uri('scpexe://xbib.org/repository'), - authentication: [userName: xbibUsername, privateKey: xbibPrivateKey] - ) + repository(url: uri('scpexe://xbib.org/repository')) { + authentication(userName: xbibUsername, privateKey: xbibPrivateKey) + } pom.project { inceptionYear '2016' licenses {