Skip to content

Commit

Permalink
chore: fix task xjcGenerateTest also
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpeintner committed Sep 8, 2023
1 parent 33dfb95 commit b80dded
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ configurations.xjcCatalogResolution {
attributes.attribute(key, rtCpAttributes.getAttribute(key))
}
}
configurations.testXjcCatalogResolution {
def rtCpAttributes = configurations.runtimeClasspath.attributes
rtCpAttributes.keySet().each { key ->
attributes.attribute(key, rtCpAttributes.getAttribute(key))
}
}

// e.g., configure manually
/* configurations.xjcCatalogResolution {
Expand Down

0 comments on commit b80dded

Please sign in to comment.