Skip to content

Conversation

@dondonz
Copy link
Member

@dondonz dondonz commented Oct 17, 2021

Fixes #2540.

Following a Gradle version upgrade #2416, Gradle publishes a module metadata file by default. By default, Gradle projects preferentially use this module metadata file rather than the Maven POM.

This project edits the Maven POM in the publish task, but the same changes are not represented in the Gradle module file. This inconsistency causes the problem described in #2540.

Let's revert to the previous behaviour, have only one source of truth, and only publish the Maven POM. This PR disables the Gradle module metadata file.

You can verify that this PR disables Gradle module metadata generation with the task
gradle generateMetadataFileForGraphqlJavaPublication

@andimarek andimarek merged commit 8ecca8e into graphql-java:master Oct 19, 2021
@andimarek andimarek added this to the 18.0 milestone Oct 19, 2021
@dondonz dondonz deleted the 2540-fix-Gradle-modules branch October 19, 2021 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When graphql-java 17.x is an implementation dependency of a gradle project, it pulls in guava.

2 participants