Is this project running on KMM-iOS ?
adhityasp opened this issue · 1 comments
Hello, i want to implement this serializer on KMM project because i read the description that this project is for Kotlin multiplatform
my KMM project will be implemented on iOS & Android project.
But when i try to implement this project on my gradle, i encountered this error message
:shared:iosArm64Main: Could not resolve com.infinum.jsonapix:processor:1.0.0-alpha02.
Do you have any idea how to solve this issue ?
Hey @adhityasp!
Sounds like you are trying to include JsonApiX in the wrong module :shared:iosArm64Main
.
If you go to the build.gradle
of the shared
module under the kotlin
block, you can add the lib there by adding
kotlin {
dependencies {
implementation("com.infinum.jsonapix:processor:1.0.0-alpha02")
...
}
...
}
Also, make sure that you have the mavenCentral()
repo added in your project level build.gradle
.
Hope this helps! Happy coding.