Skip to content

Commit f0d38e5

Browse files
committed
mvivo Update dependencies
1 parent c51830a commit f0d38e5

File tree

7 files changed

+27
-27
lines changed

7 files changed

+27
-27
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ dependencies {
148148
// Once https://issuetracker.google.com/127986458 is fixed this can be testImplementation
149149
debugImplementation "androidx.fragment:fragment-testing:$fragmentVersion"
150150
implementation "androidx.test:core:$androidXTestCoreVersion"
151-
implementation "androidx.fragment:fragment:$fragmentVersion"
151+
implementation "androidx.fragment:fragment-ktx:$fragmentVersion"
152152

153153
// AndroidX Test - Instrumented testing
154154
androidTestImplementation "androidx.test:core-ktx:$androidXTestCoreVersion"

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
<activity
2929
android:name="com.example.android.architecture.blueprints.todoapp.tasks.TasksActivity"
3030
android:windowSoftInputMode="adjustResize"
31+
android:exported="true"
3132
android:theme="@style/AppTheme.OverlapSystemBar">
3233
<intent-filter>
3334
<action android:name="android.intent.action.MAIN" />

app/src/main/java/com/example/android/architecture/blueprints/todoapp/taskdetail/TaskDetailFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class TaskDetailFragment : Fragment() {
4848
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
4949
super.onViewCreated(view, savedInstanceState)
5050
setupFab()
51-
view?.setupSnackbar(this, viewModel.snackbarText, Snackbar.LENGTH_SHORT)
51+
view.setupSnackbar(this, viewModel.snackbarText, Snackbar.LENGTH_SHORT)
5252
setupNavigation()
5353
this.setupRefreshLayout(viewDataBinding.refreshLayout)
5454
}

app/src/sharedTest/java/com/example/android/architecture/blueprints/todoapp/data/source/local/TasksLocalDataSourceTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ import kotlinx.coroutines.Dispatchers
2929
import kotlinx.coroutines.ExperimentalCoroutinesApi
3030
import kotlinx.coroutines.test.runBlockingTest
3131
import org.hamcrest.CoreMatchers.`is`
32+
import org.hamcrest.MatcherAssert.assertThat
3233
import org.junit.After
33-
import org.junit.Assert.assertThat
3434
import org.junit.Before
3535
import org.junit.Rule
3636
import org.junit.Test

build.gradle

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
buildscript {
2-
ext.kotlinVersion = '1.5.10'
3-
ext.navigationVersion = '2.3.5'
4-
ext.ktlintVersion = '0.33.0'
2+
ext.kotlinVersion = '1.6.10'
3+
ext.navigationVersion = '2.4.1'
4+
ext.ktlintVersion = '0.44.0'
55
repositories {
66
google()
7-
jcenter()
7+
mavenCentral()
88
}
99
dependencies {
10-
classpath 'com.android.tools.build:gradle:4.2.1'
10+
classpath 'com.android.tools.build:gradle:7.1.1'
1111
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
1212
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$navigationVersion"
1313

@@ -23,7 +23,7 @@ plugins {
2323
allprojects {
2424
repositories {
2525
google()
26-
jcenter()
26+
mavenCentral()
2727
}
2828
apply plugin: 'com.diffplug.spotless'
2929
spotless {
@@ -39,32 +39,32 @@ allprojects {
3939
ext {
4040
// Sdk and tools
4141
minSdkVersion = 21
42-
targetSdkVersion = 30
43-
compileSdkVersion = 30
42+
targetSdkVersion = 32
43+
compileSdkVersion = 32
4444

4545
// App dependencies
4646
androidXVersion = '1.0.0'
47-
androidXTestCoreVersion = '1.3.0'
48-
androidXTestExtKotlinRunnerVersion = '1.1.2'
47+
androidXTestCoreVersion = '1.4.0'
48+
androidXTestExtKotlinRunnerVersion = '1.1.3'
4949
androidXTestRulesVersion = '1.2.0'
50-
androidXAnnotations = '1.2.0'
50+
androidXAnnotations = '1.3.0'
5151
androidXLegacySupport = '1.0.0'
52-
appCompatVersion = '1.3.0'
53-
archLifecycleVersion = '2.3.1'
52+
appCompatVersion = '1.4.1'
53+
archLifecycleVersion = '2.4.1'
5454
archTestingVersion = '2.1.0'
5555
cardVersion = '1.0.0'
56-
coroutinesVersion = '1.5.0'
56+
coroutinesVersion = '1.5.2'
5757
dexMakerVersion = '2.12.1'
58-
espressoVersion = '3.3.0'
59-
fragmentVersion = '1.3.4'
60-
fragmentKtxVersion = '1.3.4'
58+
espressoVersion = '3.4.0'
59+
fragmentVersion = '1.4.1'
60+
fragmentKtxVersion = '1.4.1'
6161
hamcrestVersion = '1.3'
62-
junitVersion = '4.13.1'
63-
materialVersion = '1.3.0'
62+
junitVersion = '4.13.2'
63+
materialVersion = '1.5.0'
6464
multiDexVersion = '2.0.1'
65-
recyclerViewVersion = '1.2.0'
65+
recyclerViewVersion = '1.2.1'
6666
robolectricVersion = '4.5.1'
67-
roomVersion = '2.3.0'
67+
roomVersion = '2.4.1'
6868
rulesVersion = '1.0.1'
6969
timberVersion = '4.7.1'
7070
truthVersion = '1.1.2'

gradle.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,4 @@
1818
# org.gradle.parallel=true
1919
android.enableJetifier=true
2020
android.useAndroidX=true
21-
android.enableR8=true
2221
kapt.incremental.apt=true
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Tue Jun 01 08:01:38 UTC 2021
1+
#Fri Feb 18 13:22:47 CET 2022
22
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists
66
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)