Skip to content

Commit fc98b05

Browse files
committed
ABI validation
1 parent 3fd6add commit fc98b05

24 files changed

Lines changed: 1237 additions & 0 deletions

cache/api/cache.klib.api

Lines changed: 177 additions & 0 deletions
Large diffs are not rendered by default.

cache/api/jvm/cache.api

Lines changed: 226 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,226 @@
1+
public abstract interface class com/motorro/rxlcemodel/cache/CacheDelegate {
2+
public abstract fun delete (Ljava/lang/Object;)V
3+
public abstract fun get (Ljava/lang/Object;)Lcom/motorro/rxlcemodel/cache/entity/Entity;
4+
public abstract fun invalidate (Ljava/lang/Object;)V
5+
public abstract fun invalidateAll ()V
6+
public abstract fun save (Ljava/lang/Object;Lcom/motorro/rxlcemodel/cache/entity/Entity;)V
7+
}
8+
9+
public abstract interface class com/motorro/rxlcemodel/cache/CacheDelegateSerializerDeserializer {
10+
public abstract fun deserializeSnapshot (Ljava/io/InputStream;JZ)Lcom/motorro/rxlcemodel/cache/entity/Entity;
11+
public abstract fun serialize (Lcom/motorro/rxlcemodel/cache/entity/Entity;Ljava/io/OutputStream;)V
12+
}
13+
14+
public final class com/motorro/rxlcemodel/cache/CacheDelegateSerializerDeserializer$WithObjectStream : com/motorro/rxlcemodel/cache/CacheDelegateSerializerDeserializer {
15+
public fun <init> (Lcom/motorro/rxlcemodel/cache/entity/EntityValidatorFactory;Ljava/lang/Class;)V
16+
public fun deserializeSnapshot (Ljava/io/InputStream;JZ)Lcom/motorro/rxlcemodel/cache/entity/Entity;
17+
public fun serialize (Lcom/motorro/rxlcemodel/cache/entity/Entity;Ljava/io/OutputStream;)V
18+
}
19+
20+
public abstract interface class com/motorro/rxlcemodel/cache/CacheFriend {
21+
public fun getCacheKey ()Ljava/lang/String;
22+
}
23+
24+
public final class com/motorro/rxlcemodel/cache/CacheFriend$DefaultImpls {
25+
public static fun getCacheKey (Lcom/motorro/rxlcemodel/cache/CacheFriend;)Ljava/lang/String;
26+
}
27+
28+
public final class com/motorro/rxlcemodel/cache/CacheFriendDelegate : com/motorro/rxlcemodel/cache/CacheDelegate {
29+
public fun <init> (Lcom/motorro/rxlcemodel/cache/CacheDelegate;)V
30+
public fun delete (Lcom/motorro/rxlcemodel/cache/CacheFriend;)V
31+
public synthetic fun delete (Ljava/lang/Object;)V
32+
public fun get (Lcom/motorro/rxlcemodel/cache/CacheFriend;)Lcom/motorro/rxlcemodel/cache/entity/Entity;
33+
public synthetic fun get (Ljava/lang/Object;)Lcom/motorro/rxlcemodel/cache/entity/Entity;
34+
public fun invalidate (Lcom/motorro/rxlcemodel/cache/CacheFriend;)V
35+
public synthetic fun invalidate (Ljava/lang/Object;)V
36+
public fun invalidateAll ()V
37+
public fun save (Lcom/motorro/rxlcemodel/cache/CacheFriend;Lcom/motorro/rxlcemodel/cache/entity/Entity;)V
38+
public synthetic fun save (Ljava/lang/Object;Lcom/motorro/rxlcemodel/cache/entity/Entity;)V
39+
}
40+
41+
public final class com/motorro/rxlcemodel/cache/CacheFriendDelegateKt {
42+
public static final fun makeFriendParams (Lcom/motorro/rxlcemodel/cache/CacheDelegate;Lkotlin/jvm/functions/Function1;)Lcom/motorro/rxlcemodel/cache/CacheDelegate;
43+
}
44+
45+
public abstract interface class com/motorro/rxlcemodel/cache/CacheManager {
46+
public abstract fun close ()V
47+
public abstract fun delete ()V
48+
}
49+
50+
public final class com/motorro/rxlcemodel/cache/DataWithCacheKey {
51+
public fun <init> (Ljava/lang/Object;Ljava/lang/String;)V
52+
public final fun component1 ()Ljava/lang/Object;
53+
public final fun component2 ()Ljava/lang/String;
54+
public final fun copy (Ljava/lang/Object;Ljava/lang/String;)Lcom/motorro/rxlcemodel/cache/DataWithCacheKey;
55+
public static synthetic fun copy$default (Lcom/motorro/rxlcemodel/cache/DataWithCacheKey;Ljava/lang/Object;Ljava/lang/String;ILjava/lang/Object;)Lcom/motorro/rxlcemodel/cache/DataWithCacheKey;
56+
public fun equals (Ljava/lang/Object;)Z
57+
public final fun getCacheKey ()Ljava/lang/String;
58+
public final fun getData ()Ljava/lang/Object;
59+
public fun hashCode ()I
60+
public fun toString ()Ljava/lang/String;
61+
}
62+
63+
public abstract class com/motorro/rxlcemodel/cache/MemorySyncDelegate : com/motorro/rxlcemodel/cache/CacheDelegate {
64+
public static final field Companion Lcom/motorro/rxlcemodel/cache/MemorySyncDelegate$Companion;
65+
public fun <init> ()V
66+
public fun delete (Ljava/lang/Object;)V
67+
public fun get (Ljava/lang/Object;)Lcom/motorro/rxlcemodel/cache/entity/Entity;
68+
protected abstract fun getCache ()Lio/github/reactivecircus/cache4k/Cache;
69+
public fun invalidate (Ljava/lang/Object;)V
70+
public fun invalidateAll ()V
71+
public fun save (Ljava/lang/Object;Lcom/motorro/rxlcemodel/cache/entity/Entity;)V
72+
}
73+
74+
public final class com/motorro/rxlcemodel/cache/MemorySyncDelegate$Companion {
75+
public final fun create (J)Lcom/motorro/rxlcemodel/cache/MemorySyncDelegate;
76+
}
77+
78+
public final class com/motorro/rxlcemodel/cache/UtilsKt {
79+
public static final fun stringifyParams (Lcom/motorro/rxlcemodel/cache/CacheDelegate;Lkotlin/jvm/functions/Function1;)Lcom/motorro/rxlcemodel/cache/CacheDelegate;
80+
public static synthetic fun stringifyParams$default (Lcom/motorro/rxlcemodel/cache/CacheDelegate;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lcom/motorro/rxlcemodel/cache/CacheDelegate;
81+
}
82+
83+
public final class com/motorro/rxlcemodel/cache/WithObjectStreamAndCacheKey : com/motorro/rxlcemodel/cache/CacheDelegateSerializerDeserializer {
84+
public fun <init> (Lcom/motorro/rxlcemodel/cache/entity/EntityValidatorFactory;Ljava/lang/Class;)V
85+
public fun deserializeSnapshot (Ljava/io/InputStream;JZ)Lcom/motorro/rxlcemodel/cache/entity/Entity;
86+
public fun serialize (Lcom/motorro/rxlcemodel/cache/entity/Entity;Ljava/io/OutputStream;)V
87+
}
88+
89+
public abstract interface class com/motorro/rxlcemodel/cache/entity/Entity : com/motorro/rxlcemodel/cache/entity/EntityValidator {
90+
public abstract fun createSnapshot ()Lcom/motorro/rxlcemodel/cache/entity/Entity;
91+
public abstract fun getData ()Ljava/lang/Object;
92+
public abstract fun map (Lkotlin/jvm/functions/Function1;)Lcom/motorro/rxlcemodel/cache/entity/Entity;
93+
}
94+
95+
public final class com/motorro/rxlcemodel/cache/entity/Entity$Impl : com/motorro/rxlcemodel/cache/entity/Entity, com/motorro/rxlcemodel/cache/entity/EntityValidator {
96+
public fun <init> (Ljava/lang/Object;Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;)V
97+
public final fun component1 ()Ljava/lang/Object;
98+
public final fun copy (Ljava/lang/Object;Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;)Lcom/motorro/rxlcemodel/cache/entity/Entity$Impl;
99+
public static synthetic fun copy$default (Lcom/motorro/rxlcemodel/cache/entity/Entity$Impl;Ljava/lang/Object;Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;ILjava/lang/Object;)Lcom/motorro/rxlcemodel/cache/entity/Entity$Impl;
100+
public fun createSnapshot ()Lcom/motorro/rxlcemodel/cache/entity/Entity;
101+
public synthetic fun createSnapshot ()Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;
102+
public fun equals (Ljava/lang/Object;)Z
103+
public fun getData ()Ljava/lang/Object;
104+
public fun hashCode ()I
105+
public fun isValid ()Z
106+
public fun map (Lkotlin/jvm/functions/Function1;)Lcom/motorro/rxlcemodel/cache/entity/Entity;
107+
public fun serialize ()Ljava/lang/String;
108+
public fun toString ()Ljava/lang/String;
109+
}
110+
111+
public final class com/motorro/rxlcemodel/cache/entity/EntityKt {
112+
public static final fun toEntity (Ljava/lang/Object;Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;)Lcom/motorro/rxlcemodel/cache/entity/Entity$Impl;
113+
}
114+
115+
public abstract interface class com/motorro/rxlcemodel/cache/entity/EntityValidator {
116+
public fun createSnapshot ()Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;
117+
public abstract fun isValid ()Z
118+
public abstract fun serialize ()Ljava/lang/String;
119+
}
120+
121+
public final class com/motorro/rxlcemodel/cache/entity/EntityValidator$Always : com/motorro/rxlcemodel/cache/entity/EntityValidator {
122+
public static final field INSTANCE Lcom/motorro/rxlcemodel/cache/entity/EntityValidator$Always;
123+
public fun createSnapshot ()Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;
124+
public fun isValid ()Z
125+
public fun serialize ()Ljava/lang/String;
126+
}
127+
128+
public final class com/motorro/rxlcemodel/cache/entity/EntityValidator$Always$AlwaysDeserializer : com/motorro/rxlcemodel/cache/entity/EntityValidator$Deserializer {
129+
public static final field INSTANCE Lcom/motorro/rxlcemodel/cache/entity/EntityValidator$Always$AlwaysDeserializer;
130+
public fun deserialize (Ljava/lang/String;)Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;
131+
public fun deserializeSnapshot (Ljava/lang/String;)Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;
132+
}
133+
134+
public final class com/motorro/rxlcemodel/cache/entity/EntityValidator$DefaultImpls {
135+
public static fun createSnapshot (Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;)Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;
136+
}
137+
138+
public abstract interface class com/motorro/rxlcemodel/cache/entity/EntityValidator$Deserializer {
139+
public abstract fun deserialize (Ljava/lang/String;)Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;
140+
public fun deserializeSnapshot (Ljava/lang/String;)Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;
141+
}
142+
143+
public final class com/motorro/rxlcemodel/cache/entity/EntityValidator$Deserializer$DefaultImpls {
144+
public static fun deserializeSnapshot (Lcom/motorro/rxlcemodel/cache/entity/EntityValidator$Deserializer;Ljava/lang/String;)Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;
145+
}
146+
147+
public final class com/motorro/rxlcemodel/cache/entity/EntityValidator$Lifespan : com/motorro/rxlcemodel/cache/entity/EntityValidator {
148+
public static final field Companion Lcom/motorro/rxlcemodel/cache/entity/EntityValidator$Lifespan$Companion;
149+
public synthetic fun <init> (JJLcom/motorro/rxlcemodel/cache/entity/EntityValidator$Lifespan$Validation;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
150+
public fun <init> (JLcom/motorro/rxlcemodel/common/Clock;)V
151+
public synthetic fun <init> (JLcom/motorro/rxlcemodel/common/Clock;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
152+
public fun createSnapshot ()Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;
153+
public fun equals (Ljava/lang/Object;)Z
154+
public fun hashCode ()I
155+
public fun isValid ()Z
156+
public fun serialize ()Ljava/lang/String;
157+
public fun toString ()Ljava/lang/String;
158+
}
159+
160+
public final class com/motorro/rxlcemodel/cache/entity/EntityValidator$Lifespan$Companion {
161+
public final fun createSnapshot (JLcom/motorro/rxlcemodel/common/Clock;)Lcom/motorro/rxlcemodel/cache/entity/EntityValidator$Lifespan;
162+
public static synthetic fun createSnapshot$default (Lcom/motorro/rxlcemodel/cache/entity/EntityValidator$Lifespan$Companion;JLcom/motorro/rxlcemodel/common/Clock;ILjava/lang/Object;)Lcom/motorro/rxlcemodel/cache/entity/EntityValidator$Lifespan;
163+
}
164+
165+
public final class com/motorro/rxlcemodel/cache/entity/EntityValidator$Lifespan$LifespanDeserializer : com/motorro/rxlcemodel/cache/entity/EntityValidator$Deserializer {
166+
public static final field Companion Lcom/motorro/rxlcemodel/cache/entity/EntityValidator$Lifespan$LifespanDeserializer$Companion;
167+
public fun <init> ()V
168+
public fun <init> (Lcom/motorro/rxlcemodel/common/Clock;)V
169+
public synthetic fun <init> (Lcom/motorro/rxlcemodel/common/Clock;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
170+
public fun deserialize (Ljava/lang/String;)Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;
171+
public fun deserializeSnapshot (Ljava/lang/String;)Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;
172+
}
173+
174+
public final class com/motorro/rxlcemodel/cache/entity/EntityValidator$Lifespan$LifespanDeserializer$Companion {
175+
}
176+
177+
public final class com/motorro/rxlcemodel/cache/entity/EntityValidator$Never : com/motorro/rxlcemodel/cache/entity/EntityValidator {
178+
public static final field INSTANCE Lcom/motorro/rxlcemodel/cache/entity/EntityValidator$Never;
179+
public fun createSnapshot ()Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;
180+
public fun isValid ()Z
181+
public fun serialize ()Ljava/lang/String;
182+
}
183+
184+
public final class com/motorro/rxlcemodel/cache/entity/EntityValidator$Never$NeverDeserializer : com/motorro/rxlcemodel/cache/entity/EntityValidator$Deserializer {
185+
public static final field INSTANCE Lcom/motorro/rxlcemodel/cache/entity/EntityValidator$Never$NeverDeserializer;
186+
public fun deserialize (Ljava/lang/String;)Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;
187+
public fun deserializeSnapshot (Ljava/lang/String;)Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;
188+
}
189+
190+
public final class com/motorro/rxlcemodel/cache/entity/EntityValidator$Simple : com/motorro/rxlcemodel/cache/entity/EntityValidator {
191+
public fun <init> (Z)V
192+
public final fun copy (Z)Lcom/motorro/rxlcemodel/cache/entity/EntityValidator$Simple;
193+
public static synthetic fun copy$default (Lcom/motorro/rxlcemodel/cache/entity/EntityValidator$Simple;ZILjava/lang/Object;)Lcom/motorro/rxlcemodel/cache/entity/EntityValidator$Simple;
194+
public fun createSnapshot ()Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;
195+
public fun equals (Ljava/lang/Object;)Z
196+
public fun hashCode ()I
197+
public fun isValid ()Z
198+
public fun serialize ()Ljava/lang/String;
199+
public fun toString ()Ljava/lang/String;
200+
}
201+
202+
public final class com/motorro/rxlcemodel/cache/entity/EntityValidator$Simple$SimpleDeserializer : com/motorro/rxlcemodel/cache/entity/EntityValidator$Deserializer {
203+
public static final field INSTANCE Lcom/motorro/rxlcemodel/cache/entity/EntityValidator$Simple$SimpleDeserializer;
204+
public fun deserialize (Ljava/lang/String;)Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;
205+
public fun deserializeSnapshot (Ljava/lang/String;)Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;
206+
}
207+
208+
public abstract interface class com/motorro/rxlcemodel/cache/entity/EntityValidatorFactory {
209+
public abstract fun create (Ljava/lang/String;)Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;
210+
public static synthetic fun create$default (Lcom/motorro/rxlcemodel/cache/entity/EntityValidatorFactory;Ljava/lang/String;ILjava/lang/Object;)Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;
211+
public abstract fun createSnapshot (Ljava/lang/String;)Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;
212+
public static synthetic fun createSnapshot$default (Lcom/motorro/rxlcemodel/cache/entity/EntityValidatorFactory;Ljava/lang/String;ILjava/lang/Object;)Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;
213+
}
214+
215+
public final class com/motorro/rxlcemodel/cache/entity/EntityValidatorFactory$DefaultImpls {
216+
public static synthetic fun create$default (Lcom/motorro/rxlcemodel/cache/entity/EntityValidatorFactory;Ljava/lang/String;ILjava/lang/Object;)Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;
217+
public static synthetic fun createSnapshot$default (Lcom/motorro/rxlcemodel/cache/entity/EntityValidatorFactory;Ljava/lang/String;ILjava/lang/Object;)Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;
218+
}
219+
220+
public final class com/motorro/rxlcemodel/cache/entity/LifespanValidatorFactory : com/motorro/rxlcemodel/cache/entity/EntityValidatorFactory {
221+
public fun <init> (JLcom/motorro/rxlcemodel/common/Clock;)V
222+
public synthetic fun <init> (JLcom/motorro/rxlcemodel/common/Clock;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
223+
public fun create (Ljava/lang/String;)Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;
224+
public fun createSnapshot (Ljava/lang/String;)Lcom/motorro/rxlcemodel/cache/entity/EntityValidator;
225+
}
226+

cache/build.gradle.kts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
* limitations under the License.
1212
*/
1313

14+
@file:OptIn(ExperimentalAbiValidation::class)
15+
16+
import org.jetbrains.kotlin.gradle.dsl.abi.ExperimentalAbiValidation
17+
18+
1419
plugins {
1520
alias(libs.plugins.rxlcemodel.kmp)
1621
alias(libs.plugins.kotlin.dokka)
@@ -24,6 +29,10 @@ group = rootProject.group
2429
version = rootProject.version
2530

2631
kotlin {
32+
abiValidation {
33+
enabled = true
34+
}
35+
2736
sourceSets {
2837
commonMain.dependencies {
2938
api(project(":utils"))

common/api/common.klib.api

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// Klib ABI Dump
2+
// Targets: [iosArm64, iosSimulatorArm64, iosX64, js, wasmJs]
3+
// Rendering settings:
4+
// - Signature version: 2
5+
// - Show manifest properties: true
6+
// - Show declarations: true
7+
8+
// Library unique name: <com.motorro.rxlcemodel:common>
9+
sealed class com.motorro.rxlcemodel.common/UpdateOperationState { // com.motorro.rxlcemodel.common/UpdateOperationState|null[0]
10+
final class ERROR : com.motorro.rxlcemodel.common/UpdateOperationState { // com.motorro.rxlcemodel.common/UpdateOperationState.ERROR|null[0]
11+
constructor <init>(kotlin/Throwable) // com.motorro.rxlcemodel.common/UpdateOperationState.ERROR.<init>|<init>(kotlin.Throwable){}[0]
12+
13+
final val error // com.motorro.rxlcemodel.common/UpdateOperationState.ERROR.error|{}error[0]
14+
final fun <get-error>(): kotlin/Throwable // com.motorro.rxlcemodel.common/UpdateOperationState.ERROR.error.<get-error>|<get-error>(){}[0]
15+
16+
final fun component1(): kotlin/Throwable // com.motorro.rxlcemodel.common/UpdateOperationState.ERROR.component1|component1(){}[0]
17+
final fun copy(kotlin/Throwable = ...): com.motorro.rxlcemodel.common/UpdateOperationState.ERROR // com.motorro.rxlcemodel.common/UpdateOperationState.ERROR.copy|copy(kotlin.Throwable){}[0]
18+
final fun equals(kotlin/Any?): kotlin/Boolean // com.motorro.rxlcemodel.common/UpdateOperationState.ERROR.equals|equals(kotlin.Any?){}[0]
19+
final fun hashCode(): kotlin/Int // com.motorro.rxlcemodel.common/UpdateOperationState.ERROR.hashCode|hashCode(){}[0]
20+
final fun toString(): kotlin/String // com.motorro.rxlcemodel.common/UpdateOperationState.ERROR.toString|toString(){}[0]
21+
}
22+
23+
final object IDLE : com.motorro.rxlcemodel.common/UpdateOperationState { // com.motorro.rxlcemodel.common/UpdateOperationState.IDLE|null[0]
24+
final fun toString(): kotlin/String // com.motorro.rxlcemodel.common/UpdateOperationState.IDLE.toString|toString(){}[0]
25+
}
26+
27+
final object LOADING : com.motorro.rxlcemodel.common/UpdateOperationState { // com.motorro.rxlcemodel.common/UpdateOperationState.LOADING|null[0]
28+
final fun toString(): kotlin/String // com.motorro.rxlcemodel.common/UpdateOperationState.LOADING.toString|toString(){}[0]
29+
}
30+
}

common/api/jvm/common.api

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
public abstract class com/motorro/rxlcemodel/common/UpdateOperationState {
2+
}
3+
4+
public final class com/motorro/rxlcemodel/common/UpdateOperationState$ERROR : com/motorro/rxlcemodel/common/UpdateOperationState {
5+
public fun <init> (Ljava/lang/Throwable;)V
6+
public final fun component1 ()Ljava/lang/Throwable;
7+
public final fun copy (Ljava/lang/Throwable;)Lcom/motorro/rxlcemodel/common/UpdateOperationState$ERROR;
8+
public static synthetic fun copy$default (Lcom/motorro/rxlcemodel/common/UpdateOperationState$ERROR;Ljava/lang/Throwable;ILjava/lang/Object;)Lcom/motorro/rxlcemodel/common/UpdateOperationState$ERROR;
9+
public fun equals (Ljava/lang/Object;)Z
10+
public final fun getError ()Ljava/lang/Throwable;
11+
public fun hashCode ()I
12+
public fun toString ()Ljava/lang/String;
13+
}
14+
15+
public final class com/motorro/rxlcemodel/common/UpdateOperationState$IDLE : com/motorro/rxlcemodel/common/UpdateOperationState {
16+
public static final field INSTANCE Lcom/motorro/rxlcemodel/common/UpdateOperationState$IDLE;
17+
public fun toString ()Ljava/lang/String;
18+
}
19+
20+
public final class com/motorro/rxlcemodel/common/UpdateOperationState$LOADING : com/motorro/rxlcemodel/common/UpdateOperationState {
21+
public static final field INSTANCE Lcom/motorro/rxlcemodel/common/UpdateOperationState$LOADING;
22+
public fun toString ()Ljava/lang/String;
23+
}
24+

common/build.gradle.kts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
* See the License for the specific language governing permissions and
1111
* limitations under the License.
1212
*/
13+
@file:OptIn(ExperimentalAbiValidation::class)
14+
15+
import org.jetbrains.kotlin.gradle.dsl.abi.ExperimentalAbiValidation
1316

1417
plugins {
1518
alias(libs.plugins.rxlcemodel.kmp)
@@ -23,6 +26,12 @@ val versionName: String by project.extra
2326
group = rootProject.group
2427
version = rootProject.version
2528

29+
kotlin {
30+
abiValidation {
31+
enabled = true
32+
}
33+
}
34+
2635
val javadocJar by tasks.registering(Jar::class) {
2736
dependsOn(tasks.dokkaGenerate)
2837
group = "documentation"

0 commit comments

Comments
 (0)