diff --git a/plugins/core/src/main/kotlin/de/fayard/refreshVersions/core/internal/DependencyNotations.kt b/plugins/core/src/main/kotlin/de/fayard/refreshVersions/core/internal/DependencyNotations.kt index 8160fa39..3b70bc7d 100644 --- a/plugins/core/src/main/kotlin/de/fayard/refreshVersions/core/internal/DependencyNotations.kt +++ b/plugins/core/src/main/kotlin/de/fayard/refreshVersions/core/internal/DependencyNotations.kt @@ -57,9 +57,9 @@ fun Project.findDependencies(): List { (buildscript.configurations + configurations).flatMapTo(allDependencies) { configuration -> configuration.allDependencies .filterIsInstance() - .mapNotNull { dependency -> + .map { dependency -> Library( - group = dependency.group ?: return@mapNotNull null, + group = dependency.group, module = dependency.name, version = dependency.version )