Commit 2e7e50e6 authored by Daniel Gerhardt's avatar Daniel Gerhardt

Fix deployment to Maven repository

parent 8658d313
...@@ -36,11 +36,11 @@ subprojects { ...@@ -36,11 +36,11 @@ subprojects {
repositories.mavenDeployer { repositories.mavenDeployer {
configuration = configurations.deployerJars configuration = configurations.deployerJars
repository( repository(
url: project.hasProperty('mavenUrl') ? mavenUrl : "http://maven.mni.thm.de/content/repositories/snapshots/" url: project.hasProperty('mavenUrl') ? mavenUrl : "https://maven.mni.thm.de/content/repositories/snapshots/"
) { ) {
authentication( authentication(
userName: project.hasProperty('mavenUsername') ? mavenUsername : '', userName: project.hasProperty('mavenUsername') ? mavenUsername : '',
password: project.hasProperty('mavenPassword') ? mavenUsername : '' password: project.hasProperty('mavenPassword') ? mavenPassword : ''
) )
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment