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: ...@@ -5,8 +5,9 @@ job-android:
image: gitlab.linphone.org:4567/bc/public/linphone-android/bc-dev-android:29 image: gitlab.linphone.org:4567/bc/public/linphone-android/bc-dev-android:29
script: script:
- ./gradlew "--build-file" "./build.gradle" assembleDebug "--stacktrace" "--no-daemon" - ./gradlew app:dependencies | grep org.linphone
- cp ./app/release/app-release.apk lindoor-debug-unsigned.apk - ./gradlew assembleDebug
- cp ./app/build/outputs/apk/debug/app-debug.apk lindoor-debug-unsigned.apk
artifacts: artifacts:
paths: paths:
......
...@@ -7,9 +7,9 @@ apply plugin: "androidx.navigation.safeargs" ...@@ -7,9 +7,9 @@ apply plugin: "androidx.navigation.safeargs"
apply plugin: 'com.google.firebase.crashlytics' apply plugin: 'com.google.firebase.crashlytics'
repositories { repositories {
//maven { maven {
// url file(LinphoneSdkBuildDir + '/maven_repository/') url file(LinphoneSdkBuildDir + '/maven_repository/')
// } }
maven { maven {
url "https://linphone.org/maven_repository" url "https://linphone.org/maven_repository"
} }
...@@ -21,10 +21,6 @@ repositories { ...@@ -21,10 +21,6 @@ repositories {
android { android {
compileSdkVersion 29 compileSdkVersion 29
dataBinding {
enabled = true
}
defaultConfig { defaultConfig {
applicationId "org.linphone" applicationId "org.linphone"
minSdkVersion 23 minSdkVersion 23
...@@ -39,17 +35,26 @@ android { ...@@ -39,17 +35,26 @@ android {
variant.getMergedFlavor().manifestPlaceholders = [lindoor_file_provider: applicationId + ".fileprovider"] variant.getMergedFlavor().manifestPlaceholders = [lindoor_file_provider: applicationId + ".fileprovider"]
} }
buildFeatures{
dataBinding = true
}
buildTypes { buildTypes {
release { release {
minifyEnabled true minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
firebaseCrashlytics { firebaseCrashlytics {
//nativeSymbolUploadEnabled true nativeSymbolUploadEnabled true
strippedNativeLibsDir "build/intermediates/stripped_native_libs/debug/out/lib"
unstrippedNativeLibsDir "build/intermediates/merged_native_libs/debug/out/lib"
} }
} }
debug { debug {
firebaseCrashlytics { 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