From bed75a5eadbb970e866798a2f6de92a4b5f28824 Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 5 Oct 2018 20:41:23 +0200 Subject: [PATCH] updating support libraries to AndroidX --- app/build.gradle | 6 +++--- app/src/main/res/layout/activity_main.xml | 4 ++-- gradle.properties | 4 +++- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index f24c83c..95e1b68 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -9,7 +9,7 @@ android { defaultConfig { applicationId "com.simplemobiletools.flashlight" minSdkVersion 16 - targetSdkVersion 27 + targetSdkVersion 28 versionCode 30 versionName "4.1.0" setProperty("archivesBaseName", "flashlight") @@ -41,9 +41,9 @@ android { } dependencies { - implementation 'com.simplemobiletools:commons:4.6.5' + implementation 'com.simplemobiletools:commons:4.9.1' implementation 'com.squareup:otto:1.3.8' - implementation 'com.android.support.constraint:constraint-layout:1.1.2' + implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha2' } Properties props = new Properties() diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 4bfc8d7..c87dcd2 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -7,7 +7,7 @@ android:layout_height="match_parent" android:fillViewport="true"> - @@ -66,5 +66,5 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/stroboscope_btn"/> - + diff --git a/gradle.properties b/gradle.properties index 1d3591c..915f0e6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,4 +15,6 @@ # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. More details, visit # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects -# org.gradle.parallel=true \ No newline at end of file +# org.gradle.parallel=true +android.enableJetifier=true +android.useAndroidX=true \ No newline at end of file