mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
public.
This commit is contained in:
parent
b06ce2628f
commit
c236b0b070
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ public class DependencyManager @Inject constructor(val executors: KobaltExecutor
|
|||
* Reorder dependencies so that if an artifact appears several times, only the one with the higest version
|
||||
* is included.
|
||||
*/
|
||||
public fun reorderDependencies(dependencies: Collection<IClasspathDependency>): List<IClasspathDependency> {
|
||||
fun reorderDependencies(dependencies: Collection<IClasspathDependency>): List<IClasspathDependency> {
|
||||
val result = arrayListOf<IClasspathDependency>()
|
||||
val map : ArrayListMultimap<String, IClasspathDependency> = ArrayListMultimap.create()
|
||||
// The multilist maps each artifact to a list of all the versions found
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue