Skip to content

Commit b80dded

Browse files
chore: fix task xjcGenerateTest also
1 parent 33dfb95 commit b80dded

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ configurations.xjcCatalogResolution {
6262
attributes.attribute(key, rtCpAttributes.getAttribute(key))
6363
}
6464
}
65+
configurations.testXjcCatalogResolution {
66+
def rtCpAttributes = configurations.runtimeClasspath.attributes
67+
rtCpAttributes.keySet().each { key ->
68+
attributes.attribute(key, rtCpAttributes.getAttribute(key))
69+
}
70+
}
6571

6672
// e.g., configure manually
6773
/* configurations.xjcCatalogResolution {

0 commit comments

Comments
 (0)