Update AppCompat to version 1.3.1
Update AndroidX Core to version 1.7.0 Update AndroidX Activity to version 1.4.0 Update Androidx Fragment to version 1.3.6 Update Androidx Lifecycle to version 2.4.0
This commit is contained in:
parent
44d51b73ba
commit
96f9b3bdd6
5 changed files with 10 additions and 8 deletions
|
@ -76,7 +76,7 @@ class AuthenticationErrorNotificationControllerTest : RobolectricTest() {
|
|||
verify(builder).setVisibility(NotificationCompat.VISIBILITY_PUBLIC)
|
||||
}
|
||||
|
||||
private fun createFakeNotificationBuilder(notification: Notification?): NotificationCompat.Builder {
|
||||
private fun createFakeNotificationBuilder(notification: Notification): NotificationCompat.Builder {
|
||||
return mockBuilder {
|
||||
on { build() } doReturn notification
|
||||
}
|
||||
|
|
|
@ -54,7 +54,7 @@ class SendFailedNotificationControllerTest : RobolectricTest() {
|
|||
verify(notificationManager).cancel(notificationId)
|
||||
}
|
||||
|
||||
private fun createFakeNotificationBuilder(notification: Notification?): NotificationCompat.Builder {
|
||||
private fun createFakeNotificationBuilder(notification: Notification): NotificationCompat.Builder {
|
||||
return mockBuilder {
|
||||
on { build() } doReturn notification
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@ dependencies {
|
|||
implementation project(":app:core")
|
||||
|
||||
api "androidx.appcompat:appcompat:${versions.androidxAppCompat}"
|
||||
api "androidx.activity:activity:${versions.androidxActivity}"
|
||||
api "com.google.android.material:material:${versions.materialComponents}"
|
||||
api "androidx.navigation:navigation-fragment-ktx:${versions.androidxNavigation}"
|
||||
api "androidx.navigation:navigation-ui-ktx:${versions.androidxNavigation}"
|
||||
|
|
|
@ -101,7 +101,7 @@ class EditIdentity : K9Activity() {
|
|||
outState.putParcelable(EXTRA_IDENTITY, identity)
|
||||
}
|
||||
|
||||
override fun onCreateOptionsMenu(menu: Menu?): Boolean {
|
||||
override fun onCreateOptionsMenu(menu: Menu): Boolean {
|
||||
menuInflater.inflate(R.menu.edit_identity_menu, menu)
|
||||
return true
|
||||
}
|
||||
|
|
11
build.gradle
11
build.gradle
|
@ -3,7 +3,7 @@ import org.jetbrains.kotlin.gradle.dsl.KotlinCompile
|
|||
buildscript {
|
||||
ext {
|
||||
buildConfig = [
|
||||
'compileSdk': 30,
|
||||
'compileSdk': 31,
|
||||
'targetSdk': 30,
|
||||
'minSdk': 21,
|
||||
'buildTools': '30.0.3',
|
||||
|
@ -13,17 +13,18 @@ buildscript {
|
|||
versions = [
|
||||
'kotlin': '1.5.31',
|
||||
'kotlinCoroutines': '1.5.2',
|
||||
'androidxAppCompat': '1.2.0',
|
||||
'androidxAppCompat': '1.3.1',
|
||||
'androidxActivity': '1.4.0',
|
||||
'androidxRecyclerView': '1.1.0',
|
||||
'androidxLifecycle': '2.3.1',
|
||||
'androidxLifecycle': '2.4.0',
|
||||
'androidxAnnotation': '1.2.0',
|
||||
'androidxBiometric': '1.1.0',
|
||||
'androidxNavigation': '2.3.5',
|
||||
'androidxConstraintLayout': '2.0.4',
|
||||
'androidxWorkManager': '2.5.0',
|
||||
'androidxFragment': '1.3.3',
|
||||
'androidxFragment': '1.3.6',
|
||||
'androidxLocalBroadcastManager': '1.0.0',
|
||||
'androidxCore': '1.3.2',
|
||||
'androidxCore': '1.7.0',
|
||||
'androidxCardView': '1.0.0',
|
||||
'androidxPreference': '1.1.1',
|
||||
'androidxTestCore': '1.3.0',
|
||||
|
|
Loading…
Reference in a new issue