Slackbot
08/10/2022, 1:15 AMJendrik Johannes
08/10/2022, 5:05 AM+
with something else.
In this comment, there is an example for how to find the dependencies section and modify it:
https://github.com/gradle/gradle/issues/3170#issuecomment-544248344Jendrik Johannes
08/10/2022, 5:08 AM[1.1,)
instead of 1.1.+
) which Maven also understands?Ryan Schmitt
08/10/2022, 6:13 PMRyan Schmitt
08/10/2022, 6:14 PMwithXml { ... }
block only runs after any POM metadata warnings have been emittedJendrik Johannes
08/11/2022, 7:18 AM[1.1, 1.2[
would be equivalent to 1.1.+
But maybe I miss some detail. I think these are slightly different approaches for how to look at versions. So they might not always (globally) be equivalent, but for most use cases they are.
https://docs.gradle.org/current/userguide/single_versions.html
https://docs.gradle.org/current/userguide/rich_versions.htmlJendrik Johannes
08/11/2022, 7:20 AMPOM metadata warnings have been emittedYes. You would need to turn off the corresponding warning. https://docs.gradle.org/current/userguide/publishing_gradle_module_metadata.html#disabling_metadata_compatibility_publication_warnings
Jendrik Johannes
08/11/2022, 7:35 AM+
at all
• If I am just annoyed by the warning: Silence the warning and ignore what ends up in the POMs (they are not used).Ryan Schmitt
08/11/2022, 6:30 PM