From b80ddedd7cfc3eb00ccad8e00724a65d68a6198a Mon Sep 17 00:00:00 2001 From: danielpeintner Date: Fri, 8 Sep 2023 11:29:11 +0200 Subject: [PATCH] chore: fix task xjcGenerateTest also --- build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build.gradle b/build.gradle index 84da9f7..056f875 100644 --- a/build.gradle +++ b/build.gradle @@ -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 {