gradle: update AndroidX and Kotlin

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2022-06-15 12:47:16 +05:30
parent 8d33b648cc
commit 960bc99f5e
No known key found for this signature in database
GPG Key ID: 366D7BBAD1031E80
3 changed files with 5 additions and 6 deletions

View File

@ -2,20 +2,20 @@ buildscript {
ext {
activityVersion = '1.4.0'
annotationsVersion = '1.3.0'
appcompatVersion = '1.4.1'
appcompatVersion = '1.4.2'
biometricVersion = '1.1.0'
collectionVersion = '1.2.0'
constraintLayoutVersion = '2.1.4'
coordinatorLayoutVersion = '1.2.0'
coreKtxVersion = '1.7.0'
coroutinesVersion = '1.6.1'
coreKtxVersion = '1.8.0'
coroutinesVersion = '1.6.2'
datastoreVersion = '1.0.0'
desugarVersion = '1.1.5'
fragmentVersion = '1.4.1'
jsr305Version = '3.0.2'
junitVersion = '4.13.2'
lifecycleRuntimeKtxVersion = '2.4.1'
materialComponentsVersion = '1.6.0'
materialComponentsVersion = '1.6.1'
preferenceVersion = '1.2.0'
zxingEmbeddedVersion = '4.3.0'

View File

@ -1,6 +1,6 @@
pluginManagement {
def agpVersion = "7.2.1"
def kotlinVersion = "1.6.21"
def kotlinVersion = "1.7.0"
repositories {
gradlePluginPortal()
google()

View File

@ -90,6 +90,5 @@ tasks.withType(JavaCompile) {
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8
useIR = true
}
}