mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Refactor.
This commit is contained in:
parent
ffc56002c3
commit
5a8fd219eb
1 changed files with 4 additions and 7 deletions
|
@ -268,14 +268,11 @@ class AetherDependency(val artifact: Artifact) : IClasspathDependency, Comparabl
|
|||
}
|
||||
}
|
||||
|
||||
override fun toMavenDependencies() = let { md ->
|
||||
override fun toMavenDependencies() =
|
||||
org.apache.maven.model.Dependency().apply {
|
||||
artifact.let { md ->
|
||||
groupId = md.groupId
|
||||
artifactId = md.artifactId
|
||||
version = md.version
|
||||
}
|
||||
}
|
||||
groupId = artifact.groupId
|
||||
artifactId = artifact.artifactId
|
||||
version = artifact.version
|
||||
}
|
||||
|
||||
override fun directDependencies(): List<IClasspathDependency> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue