AbstractDependenciesBlock

abstract class AbstractDependenciesBlock(val logger: McLogger, blockSuppressed: List<String>, val configurationNameTransform: DependencyDeclaration.ConfigurationNameTransform, val projectDependency: ProjectDependency.Factory) : DependenciesBlock(source)

Constructors

Link copied to clipboard
constructor(logger: McLogger, blockSuppressed: List<String>, configurationNameTransform: DependencyDeclaration.ConfigurationNameTransform, projectDependency: ProjectDependency.Factory)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override val blockSuppressed: List<String>
Link copied to clipboard
abstract val fullText: String
Link copied to clipboard
abstract val lambdaContent: String
Link copied to clipboard
private val logger: McLogger
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val settings: List<DependencyDeclaration>

Functions

Link copied to clipboard
fun addModuleStatement(configName: ConfigurationName, parsedString: String, projectPath: ProjectPath, projectAccessor: ProjectAccessor, suppressed: List<String>)
Link copied to clipboard
fun addNonModuleStatement(configName: ConfigurationName, parsedString: String, coordinates: MavenCoordinates, suppressed: List<String>)
Link copied to clipboard
fun addUnknownStatement(configName: ConfigurationName, parsedString: String, argument: String, suppressed: List<String>)
Link copied to clipboard
Link copied to clipboard
private fun findLastMatchingRowIndex(parsedString: String): Int

Compares the target parsed string to the un-parsed lines of the original dependencies block, and returns the index of the last row which matches the parsed string.

Link copied to clipboard
open override fun getOrEmpty(mavenCoordinates: MavenCoordinates, configName: ConfigurationName): List<ExternalDependencyDeclaration>
open override fun getOrEmpty(moduleRef: String, configName: ConfigurationName, testFixtures: Boolean): List<ModuleDependencyDeclaration>
open override fun getOrEmpty(moduleRef: ProjectPath, configName: ConfigurationName, testFixtures: Boolean): List<ModuleDependencyDeclaration>
Link copied to clipboard
private fun getOriginalString(parsedString: String): String
Link copied to clipboard
protected abstract fun originalLineMatchesParsed(originalLine: String, parsedString: String): Boolean
Link copied to clipboard