ljacomet commented on code in PR #1711:
URL: https://github.com/apache/groovy/pull/1711#discussion_r847022090


##########
buildSrc/src/main/groovy/org.apache.groovy-all.gradle:
##########
@@ -112,4 +112,21 @@ configurations {
             }
         }
     }
+    // GROOVY-10543 - The platform configurations are published as libraries
+    apiElements {
+        attributes {
+            attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category, 
Category.LIBRARY))

Review Comment:
   I thought about it and decided to not include it in the first version. Since 
`groovy-all` does not have a JAR itself, constraining the Java version here is 
not really needed.
   The libraries it depends on do have that attribute and will be the ones 
failing to resolve if they are consumed in the wrong context.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to