1
0
Fork 0
mirror of https://github.com/MatomoCamp/matomocamp-companion-android.git synced 2024-09-19 16:13:46 +02:00
matomocamp-companion-android/app/build.gradle
Christophe Beyls 4df07a40b3
Refactor all database code to use Room, LiveData and the pagination library (#42)
* Bump minSDK version to 16 because SQLite < 3.7.11 doesn't support syntax 'CREATE TABLE IF NOT EXISTS' for FTS tables

* Reimplement search results screen using pagination, share a ViewModel between the Activity and the Fragment to allow updating the same fragment instance

* Preserve scroll position 0 in live fragments to ensure the insert/remove animation will be visible

* Simplify MultiChoiceHelper to always dispatch selection changes to the adapter using a payload, which prevents item crossfading on selection state change

* Use withLayer() for better performance of progress bar fade out animation
2019-01-28 13:30:07 +01:00

45 lines
1.5 KiB
Groovy

apply plugin: 'com.android.application'
android {
compileSdkVersion 28
buildToolsVersion "28.0.3"
defaultConfig {
applicationId "be.digitalia.fosdem"
minSdkVersion 16
targetSdkVersion 28
versionCode 1600160
versionName "1.6.0"
// Supported languages
resConfigs "en"
vectorDrawables.useSupportLibrary = true
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
def room_version = "2.1.0-alpha03"
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'com.google.android.material:material:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.0.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation ('androidx.preference:preference:1.1.0-alpha02') {
// Alpha versions of these dependencies are unstable
exclude group: 'androidx.fragment', module: 'fragment'
exclude group: 'androidx.core', module: 'core'
}
implementation 'androidx.browser:browser:1.0.0'
implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'
implementation 'androidx.paging:paging-runtime:2.1.0-rc01'
implementation "androidx.room:room-runtime:$room_version"
annotationProcessor "androidx.room:room-compiler:$room_version"
implementation 'com.github.chrisbanes:PhotoView:2.3.0'
}