Commit e8e5f7ff authored by Christophe Deschamps's avatar Christophe Deschamps
Browse files

Build adjustments


Former-commit-id: e9bb283fc5543e6a687806d60d874e88e29f3ca3
parent 20f8a9c4
......@@ -5,8 +5,9 @@ job-android:
image: gitlab.linphone.org:4567/bc/public/linphone-android/bc-dev-android:29
script:
- ./gradlew "--build-file" "./build.gradle" assembleDebug "--stacktrace" "--no-daemon"
- cp ./app/release/app-release.apk lindoor-debug-unsigned.apk
- ./gradlew app:dependencies | grep org.linphone
- ./gradlew assembleDebug
- cp ./app/build/outputs/apk/debug/app-debug.apk lindoor-debug-unsigned.apk
artifacts:
paths:
......
......@@ -7,9 +7,9 @@ apply plugin: "androidx.navigation.safeargs"
apply plugin: 'com.google.firebase.crashlytics'
repositories {
//maven {
// url file(LinphoneSdkBuildDir + '/maven_repository/')
// }
maven {
url file(LinphoneSdkBuildDir + '/maven_repository/')
}
maven {
url "https://linphone.org/maven_repository"
}
......@@ -21,10 +21,6 @@ repositories {
android {
compileSdkVersion 29
dataBinding {
enabled = true
}
defaultConfig {
applicationId "org.linphone"
minSdkVersion 23
......@@ -39,17 +35,26 @@ android {
variant.getMergedFlavor().manifestPlaceholders = [lindoor_file_provider: applicationId + ".fileprovider"]
}
buildFeatures{
dataBinding = true
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
firebaseCrashlytics {
//nativeSymbolUploadEnabled true
nativeSymbolUploadEnabled true
strippedNativeLibsDir "build/intermediates/stripped_native_libs/debug/out/lib"
unstrippedNativeLibsDir "build/intermediates/merged_native_libs/debug/out/lib"
}
}
debug {
firebaseCrashlytics {
//nativeSymbolUploadEnabled true
nativeSymbolUploadEnabled true
strippedNativeLibsDir "build/intermediates/stripped_native_libs/debug/out/lib"
unstrippedNativeLibsDir "build/intermediates/merged_native_libs/debug/out/lib"
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment