Skip to content
Snippets Groups Projects
Commit ec91c8fc authored by felmer's avatar felmer
Browse files

SSDM-279: use project property ivyRepository to define location of ivy repository

SVN: 32345
parent 5332fb8c
No related branches found
No related tags found
No related merge requests found
...@@ -321,12 +321,16 @@ task checkDependencies(dependsOn: classes) << { ...@@ -321,12 +321,16 @@ task checkDependencies(dependsOn: classes) << {
} }
apply plugin: 'ivy-publish' apply plugin: 'ivy-publish'
if (hasProperty('ivyRepository') == false || ''.equals(project.ivyRepository))
{
project.ext.ivyRepository = "${project.projectDir}/../ivy-repository"
}
publishing { publishing {
repositories { repositories {
ivy { ivy {
ivyPattern "file://${project.projectDir}/../ivy-repository/[organisation]/[module]/[revision]/ivy.xml" ivyPattern "file://${project.ivyRepository}/[organisation]/[module]/[revision]/ivy.xml"
artifactPattern "file://${project.projectDir}/../ivy-repository/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]" artifactPattern "file://${project.ivyRepository}/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]"
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment