Wizard: do not add empty gradle project to settings.gradle
This commit is contained in:
+4
-1
@@ -131,7 +131,10 @@ val TaskRunningContext.allModulesPaths
|
|||||||
else -> structure.modules.map { it.path }
|
else -> structure.modules.map { it.path }
|
||||||
}
|
}
|
||||||
paths.mapNotNull { path ->
|
paths.mapNotNull { path ->
|
||||||
projectPath.relativize(path).toList().takeIf { it.isNotEmpty() }
|
projectPath.relativize(path)
|
||||||
|
.takeIf { it.toString().isNotBlank() }
|
||||||
|
?.toList()
|
||||||
|
?.takeIf { it.isNotEmpty() }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user