Skip to content

Commit da009ad

Browse files
committed
Replace deprecated functions
1 parent 733515b commit da009ad

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

buildSrc/src/main/kotlin/base-convention.gradle.kts

+2-1
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,11 @@ dependencies {
9797
}
9898

9999
// work around native compiler and linker warnings in tests
100+
// duplicate library name: org.jetbrains.kotlinx:kotlinx-serialization-core
100101
// https://youtrack.jetbrains.com/issue/KT-51110
101102
// (leave off by default, enable to avoid warnings)
102103
/*
103-
configurations.all {
104+
configurations.configureEach {
104105
resolutionStrategy.eachDependency {
105106
if (requested.group == "org.jetbrains.kotlinx" && requested.name == "kotlinx-serialization-core") {
106107
val libs = the<org.gradle.accessors.dm.LibrariesForLibs>()

couchbase-lite/src/jvmCommonMain/kotlin/kotbase/ReplicatedDocument.jvmCommon.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ public actual class ReplicatedDocument
2222
internal constructor(actual: CBLReplicatedDocument) : DelegatedClass<CBLReplicatedDocument>(actual) {
2323

2424
public actual val scope: String
25-
get() = actual.collectionScope
25+
get() = actual.scope
2626

2727
public actual val collection: String
28-
get() = actual.collectionName
28+
get() = actual.collection
2929

3030
public actual val id: String
3131
get() = actual.id

0 commit comments

Comments
 (0)