Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
fbarthelery committed Apr 22, 2023
1 parent 28ed2d6 commit ab6c3cc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion flydroid/src/main/kotlin/FlydroidTunnel.kt
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ private data class FlydroidDestination(
ADB, CONSOLE, GRPC
}

constructor(id: String, service: String) : this(id, Service.valueOf(service.toUpperCase()))
constructor(id: String, service: String) : this(id, Service.valueOf(service.uppercase(Locale.ROOT)))
}

internal data class Destination(
Expand Down
6 changes: 3 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
[versions]
kotlin = "1.8.10"
gradle-plugin-publish = "1.2.0"
junit-jupiter = "5.7.1"
junit-jupiter = "5.9.2"
android-gradle-plugin = "8.0.0"
retrofit = "2.9.0"
retrofit-kotlinx-serialization-converter = "0.8.0"
kotlinx-serialization = "1.5.0"
kotlinx-cli = "0.2.1"
kotlinx-cli = "0.3.5"
kotlinx-coroutines = "1.6.4"
okhttp = "4.10.0"
okio = "2.6.0"
okio = "3.3.0"



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ package com.geekorum.gradle.avdl.tasks
import org.gradle.api.tasks.TaskContainer
import org.gradle.api.tasks.TaskProvider
import org.gradle.kotlin.dsl.register
import java.util.*

/**
* Set up order of tasks so that target is executed between this.
Expand Down Expand Up @@ -62,3 +63,5 @@ fun TaskContainer.registerAvdlDevicesTask(
}
return launchTask to stopTask
}

private fun String.capitalize() = replaceFirstChar { if (it.isLowerCase()) it.titlecase(Locale.ROOT) else it.toString() }

0 comments on commit ab6c3cc

Please sign in to comment.