mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 08:38:13 -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
|
val connection : URLConnection
|
||||||
get() {
|
get() {
|
||||||
val result = URL(hostInfo.url).openConnection()
|
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() =
|
val version: String get() =
|
||||||
if (mavenId.version == null) {
|
if (mavenId.version == null) {
|
||||||
""
|
""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue