Package modulecheck.finding.sort

Types

Link copied to clipboard
class SortDependenciesFinding(    val findingName: FindingName,     val dependentProject: McProject,     val dependentPath: ProjectPath.StringProjectPath,     val buildFile: File,     val comparator: Comparator<String>) : Finding, Fixable
Link copied to clipboard
class SortPluginsFinding(    val dependentProject: McProject,     val dependentPath: ProjectPath.StringProjectPath,     val buildFile: File,     val comparator: Comparator<PluginDeclaration>) : Finding, Fixable

Functions

Link copied to clipboard
internal fun List<DependencyDeclaration>.grouped(comparator: Comparator<String>): List<List<DependencyDeclaration>>
Link copied to clipboard
internal fun DependenciesBlock.sortedDeclarations(comparator: Comparator<String>): String
Link copied to clipboard
internal fun sortedDependenciesFileText(    block: DependenciesBlock,     fileText: String,     comparator: Comparator<String>): String
Link copied to clipboard
fun PluginsBlock.sortedPlugins(comparator: Comparator<PluginDeclaration>): String