Dependencies task fails to list transitive dependencies

Hello, I’m working on updating a lambda function as our current version includes dependencies with CVEs. In order to do this I’ve been running ./gradlew ges:dependencies and I get a build successful message at the end of the output. However it fails to list all but the highest level dependencies and includes a “FAILED” message after each.
Here’s some of the output:

compileClasspath - Compile classpath for null/main.
+--- org.jetbrains.kotlin:kotlin-bom:1.8.20 -> 1.8.20 FAILED
+--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.20 FAILED
+--- org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.0 FAILED
+--- com.amazonaws:aws-lambda-java-core:1.2.2 FAILED
+--- com.amazonaws:aws-lambda-java-events:3.11.1 FAILED
+--- com.amazonaws:aws-java-sdk-s3:1.12.452 FAILED
+--- com.amazonaws:aws-lambda-java-log4j2:1.5.1 FAILED
+--- org.apache.logging.log4j:log4j-api:2.17.1 FAILED
+--- org.apache.logging.log4j:log4j-core:2.17.1 FAILED
+--- org.apache.logging.log4j:log4j-slf4j18-impl:2.17.1 FAILED

Any help getting the dependency tree to show everything would be appreciated. Thanks
Currently using gradle 8.4 and I’m able to run build with no issue

If it says FAILED something failed.
Try to compile instead and you should get the actual problems.