Rename flavor for f-droid build

This commit is contained in:
世界 2021-02-27 18:26:11 +08:00
parent 210b1e2aae
commit e20cc7426a
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4
2 changed files with 4 additions and 4 deletions

View File

@ -270,7 +270,7 @@ android {
signingConfig signingConfigs.release
}
foss {
fossRelease {
debuggable false
jniDebuggable false
minifyEnabled true
@ -302,7 +302,7 @@ android {
manifest.srcFile 'src/gservcies/AndroidManifest.xml'
}
foss {
fossRelease {
jni.srcDirs = ['./jni/']
}

View File

@ -1,9 +1,9 @@
#!/bin/bash
source "bin/init/env.sh"
./gradlew TMessagesProj:stripFullFossDebugSymbols || exit 1
./gradlew TMessagesProj:stripFullFossReleaseDebugSymbols || exit 1
OUT=TMessagesProj/build/intermediates/stripped_native_libs/fullFoss/out/lib
OUT=TMessagesProj/build/intermediates/stripped_native_libs/fullFossRelease/out/lib
DIR=TMessagesProj/src/main/libs
rm -rf $DIR/armeabi-v7a
mkdir -p $DIR/armeabi-v7a