Skip to content

Commit

Permalink
Release 0.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszimmermann committed Jan 28, 2019
1 parent e2d4689 commit 5ebb221
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ plugins {
}

group 'de.difuture.ekut.pht'
version '0.9.1'
version '0.9.2'

repositories {
jcenter()
Expand Down Expand Up @@ -106,7 +106,7 @@ publishing {

model {
tasks.generatePomFileForMavenPublication {
destination = file("$buildDir/libs/lib-0.9.1.pom")
destination = file("$buildDir/libs/lib-0.9.2.pom")
}
}

Expand Down
5 changes: 1 addition & 4 deletions src/main/kotlin/de/difuture/ekut/pht/lib/utils/URIs.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,4 @@ import java.net.URI
*
* @return <host>:<port> if port is defined for this [URI], otherwise return only the <host>
*/
fun URI.hostWithPort(): String = port.let {

if (it == -1) host else "$host:$it"
}
fun URI.hostWithPort(): String = if (port == -1) host else "$host:$port"

0 comments on commit 5ebb221

Please sign in to comment.