Skip to content

Commit

Permalink
Merge pull request #33 from IntershopCommunicationsAG/solveivyconfigu…
Browse files Browse the repository at this point in the history
…ration

try to solve "create configurations"-issue for ivy configurations
  • Loading branch information
m-raab authored Aug 12, 2018
2 parents 3a3798f + ff3d766 commit a0841da
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@ class JavaSourcePlugin implements Plugin<Project> {
publications {
ivy(IvyPublication) {
configurations {
create("default")
try {
create("default")
}catch(Exception ex) {
project.logger.info("default configurtion exists.")
}
create("sources", { extend "default"})
}
artifact(project.tasks.sourceJar) {
Expand Down

0 comments on commit a0841da

Please sign in to comment.