mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
toString()
This commit is contained in:
parent
66059334ba
commit
d2e6b7ad78
2 changed files with 4 additions and 0 deletions
|
@ -44,6 +44,8 @@ class Kurl(val hostInfo: HostConfig) {
|
|||
}
|
||||
}
|
||||
|
||||
override fun toString() = hostInfo.toString()
|
||||
|
||||
val connection : URLConnection
|
||||
get() {
|
||||
val result = URL(hostInfo.url).openConnection()
|
||||
|
|
|
@ -9,6 +9,8 @@ open class SimpleDep(open val mavenId: MavenId) : UnversionedDep(mavenId.groupId
|
|||
}
|
||||
}
|
||||
|
||||
override fun toString() = mavenId.toId
|
||||
|
||||
val version: String get() =
|
||||
if (mavenId.version == null) {
|
||||
""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue