Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradle Build with 8.0.0 fails if resolutionStrategy=failOnDynamicVersions #2036

Open
stefanroeck opened this issue Sep 17, 2024 · 0 comments
Labels
type: bug Something isn't working

Comments

@stefanroeck
Copy link

stefanroeck commented Sep 17, 2024

Library Version
8.0.0

Describe the bug
When using gradle reproducible builds, the build fails with the following error:

Could not resolve commons-codec:commons-codec:1.11: Resolution strategy disallows usage of dynamic versions

To Reproduce

configurations.all {
    resolutionStrategy {
        failOnNonReproducibleResolution()
    }
}
  • Configure graphQL for any endpoint
graphql {
    client {
        endpoint = "https://gitlab.com/api/graphql"
        packageName = "com.acme.graphql"
    }
}
  • Run gradle build task

Expected behavior
The build to succeed and generate sources.

Additional hints

@stefanroeck stefanroeck added the type: bug Something isn't working label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Development

No branches or pull requests

1 participant