Closed calwi closed 1 month ago
Instructions for using a development version of the SDK are in the kotlin-sdk README. In short you need to publish to your local maven repository and then set sdk.version=local
in the gradle.properties file.
You should not add other dependencies at all. No need for modifying the gradle build files.
OK. Thanks Niels. I'm not using a local Maven repository, which I no doubt should be! I will look into it.
All good now. Thanks again!
I am trying to build this project using the sdk libraries build from the jellyfin-sdk-kotlin repo.
I have had some success getting these two repos to work locally,
By updating the build.gradle.kts Module file as: (I've needed to include direct references to ktor from Android Studio to fix another unresolved reference error for io.ktor.http.HttpStatusCode in WebViewUtils.kt)
Which branch of the sdk repo best suits which branch from the jellyfin-android repo? I have tried release-1.4.z as the closest match to the version specified in the libs.version.toml file, but receive an error when trying to build, as follows:
Unresolved reference: context on line 13 of ApiModule.kt
This needs to be uncommented for building android as I understand it.
What am I missing to get this to build locally so I can work with the sdk at the same time?
Thanks.