build: update Kotlin and AGP

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-09-11 23:10:40 +05:30
parent 4ec76766d0
commit e3301801b7
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
2 changed files with 3 additions and 4 deletions

View file

@ -20,7 +20,7 @@ android {
} }
composeOptions { composeOptions {
kotlinCompilerVersion '1.4.0' kotlinCompilerVersion "${kotlin_version}"
kotlinCompilerExtensionVersion "${compose_version}" kotlinCompilerExtensionVersion "${compose_version}"
} }
} }

View file

@ -2,7 +2,7 @@
buildscript { buildscript {
ext { ext {
compose_version = '1.0.0-alpha02' compose_version = '1.0.0-alpha02'
kotlin_version = '1.4.0' kotlin_version = '1.4.10'
room_version = '2.3.0-alpha02' room_version = '2.3.0-alpha02'
} }
repositories { repositories {
@ -10,7 +10,7 @@ buildscript {
jcenter() jcenter()
} }
dependencies { dependencies {
classpath "com.android.tools.build:gradle:4.2.0-alpha09" classpath "com.android.tools.build:gradle:4.2.0-alpha10"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
} }
} }
@ -34,7 +34,6 @@ subprojects {
} }
android { android {
compileSdkVersion 30 compileSdkVersion 30
buildToolsVersion "30.0.2"
defaultConfig { defaultConfig {
minSdkVersion 23 minSdkVersion 23