build(nc-android): fix release build (sentry)
This commit is contained in:
@@ -68,13 +68,12 @@ jobs:
|
||||
working-directory: nym-connect/native/android
|
||||
env:
|
||||
ANDROID_SDK_ROOT: ${{ env.ANDROID_HOME }}
|
||||
SENTRY_AUTH_TOKEN: ${{ secrets.NYMS5_ANDROID_SENTRY_AUTH_TOKEN }}
|
||||
# build for arm64 and x86_64
|
||||
run: |
|
||||
echo "auth.token=$SENTRY_AUTH_TOKEN" | tee -a sentry.properties
|
||||
./gradlew :app:assembleArch64Debug
|
||||
# TODO the release variant build fails because of sentry
|
||||
# build.gradle needs additional configuration
|
||||
# see https://docs.sentry.io/platforms/android/gradle/?original_referrer=https%3A%2F%2Fduckduckgo.com%2F
|
||||
# ./gradlew :app:assembleArch64Release
|
||||
./gradlew :app:assembleArch64Release
|
||||
|
||||
- name: Prepare APKs
|
||||
run: |
|
||||
|
||||
@@ -102,7 +102,7 @@ dependencies {
|
||||
|
||||
implementation 'androidx.core:core-ktx:1.10.1'
|
||||
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.1'
|
||||
implementation 'androidx.activity:activity-compose:1.5.1'
|
||||
implementation 'androidx.activity:activity-compose:1.7.2'
|
||||
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4'
|
||||
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4'
|
||||
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.0'
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
defaults.project=nym-connect-android
|
||||
defaults.org=nymtech
|
||||
# auth.token=xxx
|
||||
Reference in New Issue
Block a user