Package-level declarations

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

A Finding implementation that represents a finding where plugin declarations are not sorted according to the defined pattern.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
internal fun sortedDependenciesFileText(block: DependenciesBlock, fileText: String, comparator: Comparator<String>): String
Link copied to clipboard

Sorts the plugins in this PluginsBlock using the specified comparator.