Better error information when dependencies cannot be scanned.

master
Robinson 2023-01-16 21:39:57 +01:00
parent 7abe41dacc
commit 68346cba11
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C
1 changed files with 3 additions and 1 deletions

View File

@ -220,7 +220,9 @@ object LicenseDependencyScanner {
try {
config.resolve()
} catch (e: Throwable) {
println("Unable to resolve the $configurationName configuration for the project ${project.name}")
println("Unable to resolve the '$configurationName' configuration for the project ${project.name}")
e.printStackTrace()
return projectDependencies
}
val list = LinkedList<ResolvedDependency>()