mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -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.
|
||||
*/
|
||||
open class UnversionedDep(open val groupId: String, open val artifactId: String) {
|
||||
open fun toMetadataXmlPath(fileSystem: Boolean = true, isLocal: Boolean): String {
|
||||
return toDirectory("", fileSystem) + if (isLocal) "maven-metadata-local.xml" else "maven-metadata.xml"
|
||||
}
|
||||
open fun toMetadataXmlPath(fileSystem: Boolean = true, isLocal: Boolean) =
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue