mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 05:44:20 +01:00
Add CI check for Kotlin snippets
This commit is contained in:
@@ -32,6 +32,11 @@ kotlin {
|
||||
commonTest.dependencies {
|
||||
implementation(libs.kotlin.test)
|
||||
}
|
||||
val commonMain by getting {
|
||||
dependencies {
|
||||
implementation("technology.breez:breez-sdk-kmp:0.2.9")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ class ConnectingLsp {
|
||||
fun list_lsps(sdk: BlockingBreezServices) {
|
||||
// ANCHOR: list-lsps
|
||||
try {
|
||||
let availableLsps = sdk.listLsps()
|
||||
val availableLsps = sdk.listLsps()
|
||||
} catch (e: Exception) {
|
||||
// Handle error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user