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,15 +268,12 @@ class AetherDependency(val artifact: Artifact) : IClasspathDependency, Comparabl
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun toMavenDependencies() = let { md ->
|
override fun toMavenDependencies() =
|
||||||
org.apache.maven.model.Dependency().apply {
|
org.apache.maven.model.Dependency().apply {
|
||||||
artifact.let { md ->
|
groupId = artifact.groupId
|
||||||
groupId = md.groupId
|
artifactId = artifact.artifactId
|
||||||
artifactId = md.artifactId
|
version = artifact.version
|
||||||
version = md.version
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
override fun directDependencies(): List<IClasspathDependency> {
|
override fun directDependencies(): List<IClasspathDependency> {
|
||||||
val result = arrayListOf<IClasspathDependency>()
|
val result = arrayListOf<IClasspathDependency>()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue