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
Content copied to clipboard
Link copied to clipboard
class SortPluginsFinding( val dependentProject: McProject, val dependentPath: ProjectPath.StringProjectPath, val buildFile: File, val comparator: Comparator<PluginDeclaration>) : Finding, Fixable
Content copied to clipboard
Functions
Link copied to clipboard
internal fun List<DependencyDeclaration>.grouped(comparator: Comparator<String>): List<List<DependencyDeclaration>>
Content copied to clipboard
Link copied to clipboard
internal fun DependenciesBlock.sortedDeclarations(comparator: Comparator<String>): String
Content copied to clipboard
Link copied to clipboard
internal fun sortedDependenciesFileText( block: DependenciesBlock, fileText: String, comparator: Comparator<String>): String
Content copied to clipboard
Link copied to clipboard
fun PluginsBlock.sortedPlugins(comparator: Comparator<PluginDeclaration>): String
Content copied to clipboard