Right now DependencyExtractor only support a list of dependencies in a dependencies block. For example:
dependencies {
implementation("heart:of-gold:1.0")
api(project(":marvin"))
implementation("b:1.0")
implementation("a:1.0")
}
DependencyExtractor could be tweaked to also support a list of constraints. For example:
dependencies {
implementation("heart:of-gold:1.0")
api(project(":marvin"))
implementation("b:1.0")
implementation("a:1.0")
constraints {
implementation("org.apache.httpcomponents:httpclient:4.5.3") {
because("previous versions have a bug impacting this application")
}
implementation("commons-codec:commons-codec:1.11") {
because("version 1.9 pulled from httpclient has bugs affecting this application")
}
}
}
This would help fix square/gradle-dependencies-sorter#95
Right now
DependencyExtractoronly support a list of dependencies in a dependencies block. For example:DependencyExtractor could be tweaked to also support a list of
constraints. For example:This would help fix square/gradle-dependencies-sorter#95