Skip to content

Commit

Permalink
Release 1.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
aallam committed Nov 10, 2020
2 parents 896d65e + a67a3ea commit c701130
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 1.5.2

### Fixed
- Serialization Proguard rules (#231)

# 1.5.1

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/Library.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ object Library : Dependency {

override val group = "com.algolia"
override val artifact = "algoliasearch-client-kotlin"
override val version = "1.5.1"
override val version = "1.5.2"
}
8 changes: 8 additions & 0 deletions src/jvmMain/resources/META-INF/proguard/algoliasearch.pro
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
-keepattributes *Annotation*, InnerClasses
-dontnote kotlinx.serialization.AnnotationsKt
-keepclassmembers class kotlinx.serialization.json.** {
*** Companion;
}
-keepclasseswithmembers class kotlinx.serialization.json.** {
kotlinx.serialization.KSerializer serializer(...);
}
# Serializable models
-keep,includedescriptorclasses class com.algolia.search.model.**$$serializer { *; }
-keepclassmembers class com.algolia.search.model.** {
Expand Down

0 comments on commit c701130

Please sign in to comment.