Skip to content

Commit

Permalink
[fix] Don't overwrite existing product dependencies (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkoenig10 authored and ferozco committed Oct 29, 2018
1 parent 63f132e commit 853796a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public final void populateServiceDependencies() throws IOException {
for (Jar jarTask : subproject.getTasks().withType(Jar.class)) {
jarTask.getManifest()
.getAttributes()
.put(SLS_RECOMMENDED_PRODUCT_DEPENDENCIES,
.putIfAbsent(SLS_RECOMMENDED_PRODUCT_DEPENDENCIES,
GenerateConjureServiceDependenciesTask.jsonMapper.writeValueAsString(
new RecommendedProductDependencies(getServiceDependencies())));
}
Expand Down

0 comments on commit 853796a

Please sign in to comment.