Merge "Upgrade Kotlin version to 1.7.20 for SpaLib"

This commit is contained in:
Chaohui Wang
2022-10-08 02:33:39 +00:00
committed by Android (Google) Code Review
6 changed files with 8 additions and 7 deletions

View File

@@ -18,11 +18,12 @@ buildscript {
ext {
spa_min_sdk = 21
jetpack_compose_version = '1.2.0-alpha04'
jetpack_compose_compiler_version = '1.3.2'
jetpack_compose_material3_version = '1.0.0-alpha06'
}
}
plugins {
id 'com.android.application' version '7.3.0' apply false
id 'com.android.library' version '7.3.0' apply false
id 'org.jetbrains.kotlin.android' version '1.6.10' apply false
id 'org.jetbrains.kotlin.android' version '1.7.20' apply false
}

View File

@@ -52,7 +52,7 @@ android {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion jetpack_compose_version
kotlinCompilerExtensionVersion jetpack_compose_compiler_version
}
packagingOptions {
resources {

View File

@@ -16,7 +16,7 @@
#Thu Jul 14 10:36:06 CST 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME

View File

@@ -35,7 +35,7 @@ android_library {
],
kotlincflags: [
"-Xjvm-default=all",
"-Xopt-in=kotlin.RequiresOptIn",
"-opt-in=kotlin.RequiresOptIn",
],
min_sdk_version: "31",
}

View File

@@ -43,13 +43,13 @@ android {
}
kotlinOptions {
jvmTarget = '1.8'
freeCompilerArgs = ["-Xjvm-default=all", "-Xopt-in=kotlin.RequiresOptIn"]
freeCompilerArgs = ["-Xjvm-default=all", "-opt-in=kotlin.RequiresOptIn"]
}
buildFeatures {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion jetpack_compose_version
kotlinCompilerExtensionVersion jetpack_compose_compiler_version
}
packagingOptions {
resources {

View File

@@ -53,7 +53,7 @@ android {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion jetpack_compose_version
kotlinCompilerExtensionVersion jetpack_compose_compiler_version
}
packagingOptions {
resources {