Package modulecheck.finding
Types
Link copied to clipboard
abstract class AbstractProjectDependencyFinding : Problem, Fixable, Finding, DependencyFinding, ConfiguredDependencyFinding
Content copied to clipboard
Link copied to clipboard
data class CouldUseAnvilFinding( val findingName: FindingName, val dependentProject: McProject, val buildFile: File) : Finding, Fixable
Content copied to clipboard
Link copied to clipboard
data class InheritedDependencyFinding( val findingName: FindingName, val dependentProject: McProject, val newDependency: ProjectDependency, val source: ProjectDependency) : AbstractProjectDependencyFinding, AddsDependency, Comparable<InheritedDependencyFinding>
Content copied to clipboard
Link copied to clipboard
data class MustBeApiFinding( val findingName: FindingName, val dependentProject: McProject, val newDependency: ProjectDependency, val oldDependency: ProjectDependency, val configurationName: ConfigurationName, val source: ProjectDependency?) : AbstractProjectDependencyFinding, ModifiesProjectDependency, AddsDependency, RemovesDependency
Content copied to clipboard
Link copied to clipboard
data class OverShotDependency( val dependentProject: McProject, val newDependency: ConfiguredDependency, val oldDependency: ConfiguredDependency)
Content copied to clipboard
Represents a ConfiguredDependency which is unused in the SourceSet to which it's added, but is used in another source set downstream. For instance, a dependency is overshot if it's added to main
, but only used in test
.
Link copied to clipboard
data class OverShotDependencyFinding( val dependentProject: McProject, val newDependency: ConfiguredDependency, val oldDependency: ConfiguredDependency) : AbstractProjectDependencyFinding, AddsDependency
Content copied to clipboard
Link copied to clipboard
data class RedundantDependency( val dependentProject: McProject, val dependency: ProjectDependency, val configurationName: ConfigurationName, val from: List<ProjectDependency>)
Content copied to clipboard
Link copied to clipboard
data class RedundantDependencyFinding( val findingName: FindingName, val dependentProject: McProject, val oldDependency: ProjectDependency, val configurationName: ConfigurationName, val from: List<ProjectDependency>) : AbstractProjectDependencyFinding, RemovesDependency, Deletable
Content copied to clipboard
Link copied to clipboard
class SortDependenciesFinding( val dependentProject: McProject, val dependentPath: ProjectPath.StringProjectPath, val buildFile: File, val comparator: Comparator<String>) : Finding, Fixable
Content copied to clipboard
Link copied to clipboard
data class UnusedDependency( val dependentProject: McProject, val dependency: ConfiguredDependency, val dependencyIdentifier: Identifier, val configurationName: ConfigurationName)
Content copied to clipboard
Link copied to clipboard
data class UnusedDependencyFinding( val findingName: FindingName, val dependentProject: McProject, val oldDependency: ConfiguredDependency, val dependencyIdentifier: String, val configurationName: ConfigurationName) : AbstractProjectDependencyFinding, RemovesDependency, Deletable
Content copied to clipboard
Link copied to clipboard
data class UnusedKaptProcessorFinding( val findingName: FindingName, val dependentProject: McProject, val dependentPath: ProjectPath.StringProjectPath, val buildFile: File, val oldDependency: ConfiguredDependency, val configurationName: ConfigurationName) : Finding, Problem, Fixable, DependencyFinding, ConfigurationFinding, RemovesDependency
Content copied to clipboard
Link copied to clipboard
data class UnusedPluginFinding( val dependentProject: McProject, val dependentPath: ProjectPath.StringProjectPath, val buildFile: File, val findingName: FindingName, val pluginDefinition: PluginDefinition) : Finding, Problem, Fixable, Deletable
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
fun sortedDependenciesFileText( block: DependenciesBlock, fileText: String, comparator: Comparator<String>): String
Content copied to clipboard