https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
a

aiidziis

12/08/2020, 12:14 PM
Has anyone managed to add
SQLCipher
? Went through example: https://github.com/touchlab-lab/KaMPKitSQLCipher . Project actually builds on Xcode and works properly, but now I am having problems with
publishToMavenLocal
. When I run
gradlew publishToMavenLocal
this error is getting thrown:
Copy code
Execution failed for task ':KME:cinteropSQLCipherIos'.
> Cannot perform cinterop processing for module SQLCipher: cannot determine headers location.
k

Kris Wong

12/08/2020, 1:49 PM
are you publishing your .klibs, or only your android artifacts?
a

aiidziis

12/08/2020, 2:02 PM
Only Android artifacts. Found a dirty workaround by adding to settings.gradle:
Copy code
startParameter.excludedTaskNames += "cinteropSQLCipherIos"
k

Kris Wong

12/08/2020, 2:35 PM
if you're only publishing android artifacts then that task should not be run. it sounds like there's an issue in determining task dependencies
👌 1
13 Views