You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by GitBox <gi...@apache.org> on 2022/04/11 07:28:43 UTC
[GitHub] [groovy] ljacomet commented on a diff in pull request #1711: GROOVY-10543 Publish groovy-all as library
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: notifications-unsubscribe@groovy.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org