diff --git a/.gitignore b/.gitignore index a6d3486..fca9069 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ .gradle build/ .cxx +.kotlin # this file is local to the dev environment and must not be pushed! local.properties @@ -24,23 +25,8 @@ gradle-app.setting *.class *.log -# sbt specific -.cache/ -.history/ -.lib/ -dist/* -target/ -lib_managed/ -src_managed/ -project/boot/ -project/plugins/project/ - -# Scala-IDE specific -.scala_dependencies -.worksheet - .idea *.iml target/ project/target -DeleteMe*.scala + diff --git a/buildSrc/src/main/kotlin/Versions.kt b/buildSrc/src/main/kotlin/Versions.kt index 94ea9bf..caa3af8 100644 --- a/buildSrc/src/main/kotlin/Versions.kt +++ b/buildSrc/src/main/kotlin/Versions.kt @@ -1,9 +1,9 @@ object Versions { - val kotlin = "1.9.23" + val kotlin = "2.0.20" val lightningKmp = "1.7.3-FEECREDIT-11" val sqlDelight = "2.0.1" - val okio = "3.8.0" - val clikt = "4.2.2" - val ktor = "2.3.8" + val okio = "3.9.1" + val clikt = "4.4.0" + val ktor = "2.3.12" fun ktor(module: String) = "io.ktor:ktor-$module:$ktor" } \ No newline at end of file diff --git a/src/commonMain/kotlin/fr/acinq/lightning/bin/json/JsonSerializers.kt b/src/commonMain/kotlin/fr/acinq/lightning/bin/json/JsonSerializers.kt index 22819c2..2cfd4bb 100644 --- a/src/commonMain/kotlin/fr/acinq/lightning/bin/json/JsonSerializers.kt +++ b/src/commonMain/kotlin/fr/acinq/lightning/bin/json/JsonSerializers.kt @@ -40,7 +40,7 @@ import kotlinx.serialization.UseSerializers sealed class ApiType { @Serializable - data class Channel internal constructor( + data class Channel( val state: String, val channelId: ByteVector32? = null, val balanceSat: Satoshi? = null,