updating support libraries to AndroidX

This commit is contained in:
tibbi 2018-10-05 20:41:23 +02:00
parent aa6c464321
commit bed75a5ead
3 changed files with 8 additions and 6 deletions

View File

@ -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()

View File

@ -7,7 +7,7 @@
android:layout_height="match_parent"
android:fillViewport="true">
<android.support.constraint.ConstraintLayout
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/main_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content">
@ -66,5 +66,5 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/stroboscope_btn"/>
</android.support.constraint.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView>

View File

@ -16,3 +16,5 @@
# 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
android.enableJetifier=true
android.useAndroidX=true