[#723] Fix inclusion of native libraries in demo-app
This commit is contained in:
parent
d25d67c470
commit
f2d71593ec
|
@ -337,7 +337,7 @@ jobs:
|
|||
ORG_GRADLE_PROJECT_ZCASH_RELEASE_KEY_ALIAS: androiddebugkey
|
||||
ORG_GRADLE_PROJECT_ZCASH_RELEASE_KEY_ALIAS_PASSWORD: android
|
||||
run: |
|
||||
./gradlew :demo-app:assembleRelease
|
||||
./gradlew assembleRelease
|
||||
- name: Collect Artifacts
|
||||
timeout-minutes: 1
|
||||
env:
|
||||
|
|
|
@ -158,4 +158,12 @@ fladle {
|
|||
flankVersion.set(libs.versions.flank.get())
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// This is a workaround for issue #723.
|
||||
// Native libraries are missing after this: `./gradlew clean; ./gradlew :demo-app:assemble`
|
||||
// But are present after this: `./gradlew clean; ./gradlew assemble`
|
||||
// The second one probably doesn't solve the problem, as there's probably a race condition in the Rust Gradle Plugin.
|
||||
// This hack ensures that the SDK is completely built before the demo app starts being built. There may be more
|
||||
// efficient or better solutions we can find later.
|
||||
tasks.getByName("assemble").dependsOn(":sdk-lib:assemble")
|
||||
|
|
Loading…
Reference in New Issue