Check failed when even when ignoring dependencies
derhecht opened this issue · 2 comments
I run useLatestVersions|useLatestVersionsCheck with
--ignore-dependency jakarta.annotation:jakarta.annotation-api --ignore-dependency jakarta.persistence:jakarta.persistence-api --ignore-dependency org.hibernate:hibernate-java8
which results in a failed build with the following
`useLatestVersions failed to update 2 dependencies to the latest version:
useLatestVersions skipped updating 3 dependencies in --ignore-dependency:
- jakarta.annotation:jakarta.annotation-api [1.3.5 -> 2.0.0]
- jakarta.persistence:jakarta.persistence-api [2.2.3 -> 3.0.0]
- org.hibernate:hibernate-java8 [5.4.23.Final -> 6.0.0.Alpha6]`
so the failed dependencies are not listed which prevents me from ignoring conflicting (transitive?) dependencies.
I there any workaround? Do I miss something?
Gradle 6.7
JDK 8
btw running with --info --stacktrace results in
Caused by: org.gradle.api.GradleException: useLatestVersions failed
at se.patrikerdes.UseLatestVersionsCheckTask.useLatestVersionsCheckTask(UseLatestVersionsCheckTask.groovy:91)
ok, got it by checking sub-module report files. looks like this is a bug/missing thing. - so failed listing should contain sub-module fails also.