Skip to content

Commit

Permalink
Update Kotlin to v2 (major) (#52)
Browse files Browse the repository at this point in the history
* Update Kotlin to v2

* fix kotlin 2.0 and get rid of warnings

* fix js implementation

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jordon de Hoog <[email protected]>
  • Loading branch information
renovate[bot] and jordond authored May 27, 2024
1 parent 6aeefa8 commit 593c653
Show file tree
Hide file tree
Showing 14 changed files with 161 additions and 164 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ demo/iosApp/Pods/*
demo/iosApp/iosApp.xcworkspace/*
demo/iosApp/iosApp.xcodeproj/*
!demo/iosApp/iosApp.xcodeproj/project.pbxproj
publish.sh
publish.sh
.kotlin
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import org.jetbrains.dokka.gradle.DokkaMultiModuleTask
plugins {
alias(libs.plugins.multiplatform) apply false
alias(libs.plugins.compose) apply false
alias(libs.plugins.compose.compiler) apply false
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.kotlin.android) apply false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ public final class dev/jordond/compass/geocoder/web/GoogleMapsReverseEndpoint :
public synthetic fun url (Ljava/lang/Object;)Ljava/lang/String;
}

public final class dev/jordond/compass/geocoder/web/google/internal/AddressComponentResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public synthetic class dev/jordond/compass/geocoder/web/google/internal/AddressComponentResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Ldev/jordond/compass/geocoder/web/google/internal/AddressComponentResponse$$serializer;
public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/jordond/compass/geocoder/web/google/internal/AddressComponentResponse;
public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/jordond/compass/geocoder/web/google/internal/AddressComponentResponse;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/jordond/compass/geocoder/web/google/internal/AddressComponentResponse;)V
public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/jordond/compass/geocoder/web/google/internal/AddressComponentResponse;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
Expand All @@ -62,13 +62,13 @@ public final class dev/jordond/compass/geocoder/web/google/internal/AddressCompo
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

public final class dev/jordond/compass/geocoder/web/google/internal/GeocodeResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public synthetic class dev/jordond/compass/geocoder/web/google/internal/GeocodeResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Ldev/jordond/compass/geocoder/web/google/internal/GeocodeResponse$$serializer;
public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/jordond/compass/geocoder/web/google/internal/GeocodeResponse;
public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/jordond/compass/geocoder/web/google/internal/GeocodeResponse;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/jordond/compass/geocoder/web/google/internal/GeocodeResponse;)V
public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/jordond/compass/geocoder/web/google/internal/GeocodeResponse;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
Expand All @@ -77,13 +77,13 @@ public final class dev/jordond/compass/geocoder/web/google/internal/GeocodeRespo
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

public final class dev/jordond/compass/geocoder/web/google/internal/GeometryResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public synthetic class dev/jordond/compass/geocoder/web/google/internal/GeometryResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Ldev/jordond/compass/geocoder/web/google/internal/GeometryResponse$$serializer;
public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/jordond/compass/geocoder/web/google/internal/GeometryResponse;
public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/jordond/compass/geocoder/web/google/internal/GeometryResponse;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/jordond/compass/geocoder/web/google/internal/GeometryResponse;)V
public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/jordond/compass/geocoder/web/google/internal/GeometryResponse;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
Expand All @@ -92,13 +92,13 @@ public final class dev/jordond/compass/geocoder/web/google/internal/GeometryResp
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

public final class dev/jordond/compass/geocoder/web/google/internal/LocationResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public synthetic class dev/jordond/compass/geocoder/web/google/internal/LocationResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Ldev/jordond/compass/geocoder/web/google/internal/LocationResponse$$serializer;
public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/jordond/compass/geocoder/web/google/internal/LocationResponse;
public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/jordond/compass/geocoder/web/google/internal/LocationResponse;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/jordond/compass/geocoder/web/google/internal/LocationResponse;)V
public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/jordond/compass/geocoder/web/google/internal/LocationResponse;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
Expand All @@ -107,13 +107,13 @@ public final class dev/jordond/compass/geocoder/web/google/internal/LocationResp
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

public final class dev/jordond/compass/geocoder/web/google/internal/ResultResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public synthetic class dev/jordond/compass/geocoder/web/google/internal/ResultResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Ldev/jordond/compass/geocoder/web/google/internal/ResultResponse$$serializer;
public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/jordond/compass/geocoder/web/google/internal/ResultResponse;
public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/jordond/compass/geocoder/web/google/internal/ResultResponse;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/jordond/compass/geocoder/web/google/internal/ResultResponse;)V
public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/jordond/compass/geocoder/web/google/internal/ResultResponse;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ public final class dev/jordond/compass/geocoder/web/GoogleMapsReverseEndpoint :
public synthetic fun url (Ljava/lang/Object;)Ljava/lang/String;
}

public final class dev/jordond/compass/geocoder/web/google/internal/AddressComponentResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public synthetic class dev/jordond/compass/geocoder/web/google/internal/AddressComponentResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Ldev/jordond/compass/geocoder/web/google/internal/AddressComponentResponse$$serializer;
public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/jordond/compass/geocoder/web/google/internal/AddressComponentResponse;
public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/jordond/compass/geocoder/web/google/internal/AddressComponentResponse;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/jordond/compass/geocoder/web/google/internal/AddressComponentResponse;)V
public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/jordond/compass/geocoder/web/google/internal/AddressComponentResponse;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
Expand All @@ -62,13 +62,13 @@ public final class dev/jordond/compass/geocoder/web/google/internal/AddressCompo
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

public final class dev/jordond/compass/geocoder/web/google/internal/GeocodeResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public synthetic class dev/jordond/compass/geocoder/web/google/internal/GeocodeResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Ldev/jordond/compass/geocoder/web/google/internal/GeocodeResponse$$serializer;
public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/jordond/compass/geocoder/web/google/internal/GeocodeResponse;
public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/jordond/compass/geocoder/web/google/internal/GeocodeResponse;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/jordond/compass/geocoder/web/google/internal/GeocodeResponse;)V
public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/jordond/compass/geocoder/web/google/internal/GeocodeResponse;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
Expand All @@ -77,13 +77,13 @@ public final class dev/jordond/compass/geocoder/web/google/internal/GeocodeRespo
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

public final class dev/jordond/compass/geocoder/web/google/internal/GeometryResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public synthetic class dev/jordond/compass/geocoder/web/google/internal/GeometryResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Ldev/jordond/compass/geocoder/web/google/internal/GeometryResponse$$serializer;
public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/jordond/compass/geocoder/web/google/internal/GeometryResponse;
public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/jordond/compass/geocoder/web/google/internal/GeometryResponse;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/jordond/compass/geocoder/web/google/internal/GeometryResponse;)V
public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/jordond/compass/geocoder/web/google/internal/GeometryResponse;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
Expand All @@ -92,13 +92,13 @@ public final class dev/jordond/compass/geocoder/web/google/internal/GeometryResp
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

public final class dev/jordond/compass/geocoder/web/google/internal/LocationResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public synthetic class dev/jordond/compass/geocoder/web/google/internal/LocationResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Ldev/jordond/compass/geocoder/web/google/internal/LocationResponse$$serializer;
public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/jordond/compass/geocoder/web/google/internal/LocationResponse;
public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/jordond/compass/geocoder/web/google/internal/LocationResponse;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/jordond/compass/geocoder/web/google/internal/LocationResponse;)V
public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/jordond/compass/geocoder/web/google/internal/LocationResponse;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
Expand All @@ -107,13 +107,13 @@ public final class dev/jordond/compass/geocoder/web/google/internal/LocationResp
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

public final class dev/jordond/compass/geocoder/web/google/internal/ResultResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public synthetic class dev/jordond/compass/geocoder/web/google/internal/ResultResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Ldev/jordond/compass/geocoder/web/google/internal/ResultResponse$$serializer;
public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/jordond/compass/geocoder/web/google/internal/ResultResponse;
public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/jordond/compass/geocoder/web/google/internal/ResultResponse;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/jordond/compass/geocoder/web/google/internal/ResultResponse;)V
public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/jordond/compass/geocoder/web/google/internal/ResultResponse;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
Expand Down
Loading

0 comments on commit 593c653

Please sign in to comment.