mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 00:38:11 -07:00
Simplify.
This commit is contained in:
parent
4a545658da
commit
5468a380f2
1 changed files with 2 additions and 3 deletions
|
@ -8,9 +8,8 @@ import java.io.File
|
||||||
* eventually resolve to the latest version of the artifact.
|
* eventually resolve to the latest version of the artifact.
|
||||||
*/
|
*/
|
||||||
open class UnversionedDep(open val groupId: String, open val artifactId: String) {
|
open class UnversionedDep(open val groupId: String, open val artifactId: String) {
|
||||||
open fun toMetadataXmlPath(fileSystem: Boolean = true, isLocal: Boolean): String {
|
open fun toMetadataXmlPath(fileSystem: Boolean = true, isLocal: Boolean) =
|
||||||
return toDirectory("", fileSystem) + if (isLocal) "maven-metadata-local.xml" else "maven-metadata.xml"
|
toDirectory("", fileSystem) + if (isLocal) "maven-metadata-local.xml" else "maven-metadata.xml"
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Turn this dependency to a directory. If fileSystem is true, use the file system
|
* Turn this dependency to a directory. If fileSystem is true, use the file system
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue