gradle: upgrade AndroidX dependencies

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2021-10-28 00:57:31 +05:30
parent 15cb99a41f
commit 836c367499
No known key found for this signature in database
GPG Key ID: 366D7BBAD1031E80
3 changed files with 6 additions and 6 deletions

View File

@ -1,20 +1,20 @@
buildscript { buildscript {
ext { ext {
activityVersion = '1.3.1' activityVersion = '1.4.0'
annotationsVersion = '1.2.0' annotationsVersion = '1.2.0'
appcompatVersion = '1.3.1' appcompatVersion = '1.3.1'
biometricVersion = '1.1.0' biometricVersion = '1.1.0'
collectionVersion = '1.1.0' collectionVersion = '1.1.0'
constraintLayoutVersion = '2.1.1' constraintLayoutVersion = '2.1.1'
coordinatorLayoutVersion = '1.1.0' coordinatorLayoutVersion = '1.1.0'
coreKtxVersion = '1.6.0' coreKtxVersion = '1.7.0'
coroutinesVersion = '1.5.2' coroutinesVersion = '1.5.2'
datastoreVersion = '1.0.0' datastoreVersion = '1.0.0'
desugarVersion = '1.1.5' desugarVersion = '1.1.5'
fragmentVersion = '1.3.6' fragmentVersion = '1.3.6'
jsr305Version = '3.0.2' jsr305Version = '3.0.2'
junitVersion = '4.13.2' junitVersion = '4.13.2'
lifecycleRuntimeKtxVersion = '2.3.1' lifecycleRuntimeKtxVersion = '2.4.0'
materialComponentsVersion = '1.4.0' materialComponentsVersion = '1.4.0'
preferenceVersion = '1.1.1' preferenceVersion = '1.1.1'
zxingEmbeddedVersion = '4.3.0' zxingEmbeddedVersion = '4.3.0'

View File

@ -12,7 +12,7 @@ group groupName
final def keystorePropertiesFile = rootProject.file("keystore.properties") final def keystorePropertiesFile = rootProject.file("keystore.properties")
android { android {
compileSdkVersion 30 compileSdkVersion 31
buildFeatures { buildFeatures {
buildConfig = true buildConfig = true
dataBinding = true dataBinding = true

View File

@ -126,9 +126,9 @@ class LogViewerActivity : AppCompatActivity() {
} }
} }
override fun onCreateOptionsMenu(menu: Menu?): Boolean { override fun onCreateOptionsMenu(menu: Menu): Boolean {
menuInflater.inflate(R.menu.log_viewer, menu) menuInflater.inflate(R.menu.log_viewer, menu)
saveButton = menu?.findItem(R.id.save_log) saveButton = menu.findItem(R.id.save_log)
return true return true
} }