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

Error when adding Gradle plugin to project #735

Open
minademianco opened this issue May 27, 2024 · 1 comment
Open

Error when adding Gradle plugin to project #735

minademianco opened this issue May 27, 2024 · 1 comment

Comments

@minademianco
Copy link

Describe the bug
Unable to include openapi-style-validator Gradle plugin in project

org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration ':<redacted>-api:detachedConfiguration80'.
	at org.gradle.api.internal.artifacts.ResolveExceptionContextualizer.contextualize(ResolveExceptionContextualizer.java:55)
	at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.resolveGraph(ErrorHandlingConfigurationResolver.java:75)

To Reproduce

  1. Add to settings.gradle
sourceControl {
    gitRepository("https://github.com/OpenAPITools/openapi-style-validator") {
        producesModule("org.openapitools.openapistylevalidator:openapi-style-validator-gradle-plugin")
    }
}
  1. Add to build.gradle
    implementation 'org.openapitools.openapistylevalidator:openapi-style-validator-gradle-plugin'

Options you used.
Minimal OpenApi Spec to reproduce the bug

Expected behavior
Build to complete.

Additional context
Running Gradle 8.6, IntelliJ Ultimate, in multi-repo project.

@JFCote
Copy link
Member

JFCote commented May 28, 2024

Hi @minademianco !

Thanks for reporting this. Unfortunately, the people that added the gradle plugin part are no longer very active in the project so I can't make false promise that I will be able to fix it soon. Gradle problem are usually quite complex to fix.
If anyone see this post and can help fix this, create a PR!

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants