mirror of
https://github.com/tadfisher/gradle2nix.git
synced 2026-01-12 07:50:53 -05:00
Skip project dependencies
This commit is contained in:
@@ -52,6 +52,7 @@ fun processDependencies(config: Config): Map<String, Map<String, Artifact>> {
|
||||
.flatMap { it.allDependencies.asSequence() }
|
||||
.groupBy { it.id }
|
||||
.mapNotNull { (id, dependencies) ->
|
||||
if (id.startsWith("project ")) return@mapNotNull null
|
||||
val deps = dependencies.toSet()
|
||||
if (deps.isEmpty()) {
|
||||
config.logger.warn("$id: no resolved dependencies in dependency graph")
|
||||
|
||||
Reference in New Issue
Block a user