Skip to content

Commit

Permalink
Point generated sources at the correct path
Browse files Browse the repository at this point in the history
  • Loading branch information
ianthetechie committed Nov 5, 2023
1 parent 856c4a0 commit 1728fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ cargoNdk {
android.libraryVariants.all { variant ->
def generateBindings = tasks.register("generate${variant.name.capitalize()}UniFFIBindings", Exec) {
workingDir '../../common'
commandLine 'cargo', 'run', '-p', 'uniffi-bindgen', 'generate', '--library', 'target/aarch64-linux-android/release/libferrostar.so', '--language', 'kotlin', '--out-dir', "${buildDir}/generated/source/uniffi/${variant.name}/java"
commandLine 'cargo', 'run', '-p', 'uniffi-bindgen', 'generate', '--library', '../android/core/src/main/jniLibs/arm64-v8a/libferrostar.so', '--language', 'kotlin', '--out-dir', "${buildDir}/generated/source/uniffi/${variant.name}/java"

dependsOn "buildCargoNdk${variant.name.capitalize()}"
}
Expand Down

0 comments on commit 1728fd9

Please sign in to comment.