We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@sschuberth Looking at the kotlin plugin, it checks in the allDependencies if inherited,
allDependencies
https://github.com/JetBrains/kotlin/blob/07aee8831eb45690053028f39f3312e1c8e90f69/libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/internal/KotlinDependenciesManagement.kt#L131-L136
It appears that if I change our resolution logic from clearing them as,
gradle-versions-plugin/src/main/groovy/com/github/benmanes/gradle/versions/updates/Resolver.groovy
Lines 127 to 134 in 9effd94
to retaining those inherited as,
def all = new ArrayList(configuration.getAllDependencies()) all.removeAll(configuration.dependencies) copy.dependencies.clear() copy.dependencies.addAll(all) copy.dependencies.addAll(latest)
Then the failure messages to resolve those configurations goes away,
> Task :dependencyUpdates Failed to resolve :cli:implementation Failed to resolve :model:implementation Failed to resolve :utils:implementation
Originally posted by @ben-manes in #334 (comment)
The text was updated successfully, but these errors were encountered:
3e9bdf8
No branches or pull requests
@sschuberth Looking at the kotlin plugin, it checks in the
allDependencies
if inherited,https://github.com/JetBrains/kotlin/blob/07aee8831eb45690053028f39f3312e1c8e90f69/libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/internal/KotlinDependenciesManagement.kt#L131-L136
It appears that if I change our resolution logic from clearing them as,
gradle-versions-plugin/src/main/groovy/com/github/benmanes/gradle/versions/updates/Resolver.groovy
Lines 127 to 134 in 9effd94
to retaining those inherited as,
Then the failure messages to resolve those configurations goes away,
Originally posted by @ben-manes in #334 (comment)
The text was updated successfully, but these errors were encountered: