Skip to content

Commit bed75a5

Browse files
committed
updating support libraries to AndroidX
1 parent aa6c464 commit bed75a5

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ android {
99
defaultConfig {
1010
applicationId "com.simplemobiletools.flashlight"
1111
minSdkVersion 16
12-
targetSdkVersion 27
12+
targetSdkVersion 28
1313
versionCode 30
1414
versionName "4.1.0"
1515
setProperty("archivesBaseName", "flashlight")
@@ -41,9 +41,9 @@ android {
4141
}
4242

4343
dependencies {
44-
implementation 'com.simplemobiletools:commons:4.6.5'
44+
implementation 'com.simplemobiletools:commons:4.9.1'
4545
implementation 'com.squareup:otto:1.3.8'
46-
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
46+
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha2'
4747
}
4848

4949
Properties props = new Properties()

app/src/main/res/layout/activity_main.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
android:layout_height="match_parent"
88
android:fillViewport="true">
99

10-
<android.support.constraint.ConstraintLayout
10+
<androidx.constraintlayout.widget.ConstraintLayout
1111
android:id="@+id/main_holder"
1212
android:layout_width="match_parent"
1313
android:layout_height="wrap_content">
@@ -66,5 +66,5 @@
6666
app:layout_constraintStart_toStartOf="parent"
6767
app:layout_constraintTop_toBottomOf="@+id/stroboscope_btn"/>
6868

69-
</android.support.constraint.ConstraintLayout>
69+
</androidx.constraintlayout.widget.ConstraintLayout>
7070
</ScrollView>

gradle.properties

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@
1515
# When configured, Gradle will run in incubating parallel mode.
1616
# This option should only be used with decoupled projects. More details, visit
1717
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18-
# org.gradle.parallel=true
18+
# org.gradle.parallel=true
19+
android.enableJetifier=true
20+
android.useAndroidX=true

0 commit comments

Comments
 (0)