1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-09-02 21:02:48 +02:00

Androidx refactoring (#587)

- integration of Androidx navigation component
- replaced obsoleted preferences with Androidx preferences
- replaced png file with svg files
- integration of DayNight theme
- use of live data to have always up-to-date measurements
This commit is contained in:
OliE
2020-06-16 09:55:10 +02:00
committed by GitHub
parent ba1982eb8b
commit 5b5274e798
586 changed files with 2977 additions and 1764 deletions

View File

@@ -1,4 +1,5 @@
apply plugin: 'com.android.application'
apply plugin: "androidx.navigation.safeargs"
android {
compileSdkVersion 29
@@ -119,21 +120,28 @@ android {
}
dependencies {
implementation 'com.google.android.material:material:1.2.0-alpha06'
implementation 'com.google.android.material:material:1.3.0-alpha01'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.preference:preference:1.1.1'
implementation 'androidx.navigation:navigation-fragment:2.3.0-rc01'
implementation 'androidx.navigation:navigation-ui:2.3.0-rc01'
implementation "android.arch.lifecycle:extensions:1.1.1"
annotationProcessor "android.arch.lifecycle:compiler:1.1.1"
// MPAndroidChart
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
// Simple CSV
implementation 'com.j256.simplecsv:simplecsv:2.3'
implementation 'com.j256.simplecsv:simplecsv:2.6'
// Blessed Android
implementation 'com.github.weliem:blessed-android:1.15'
implementation 'com.github.weliem:blessed-android:1.18'
// CustomActivityOnCrash
implementation 'cat.ereza:customactivityoncrash:2.2.0'
// AppIntro
implementation 'com.github.AppIntro:AppIntro:6.0.0-alpha3'
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.3.71'
implementation 'com.github.AppIntro:AppIntro:6.0.0'
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.3.72'
// Room
implementation 'androidx.room:room-runtime:2.2.5'
annotationProcessor 'androidx.room:room-compiler:2.2.5'
@@ -141,7 +149,7 @@ dependencies {
// Timber
implementation 'com.jakewharton.timber:timber:4.7.1'
// Local unit tests
testImplementation 'junit:junit:4.12'
testImplementation 'junit:junit:4.13'
// Instrumented unit tests
androidTestImplementation 'androidx.annotation:annotation:1.1.0'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'