Upgrade Kotlin to 1.8.20 (#4753)
Summary: [android] Upgrade Kotlin to 1.8.20 The additional source/target settings should hopefully no longer be necessary with AGP 8.1: https://kotlinlang.org/docs/gradle-configure-project.html#gradle-java-toolchains-support Pull Request resolved: https://github.com/facebook/flipper/pull/4753 Test Plan: - CI - Build sample app - AS sync --- Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/flipper/pull/4753). * https://github.com/facebook/flipper/issues/4759 * https://github.com/facebook/flipper/issues/4758 * https://github.com/facebook/flipper/issues/4757 * https://github.com/facebook/flipper/issues/4756 * https://github.com/facebook/flipper/issues/4755 * https://github.com/facebook/flipper/issues/4754 * __->__ https://github.com/facebook/flipper/issues/4753 * https://github.com/facebook/flipper/issues/4752 * https://github.com/facebook/flipper/issues/4751 Reviewed By: ivanmisuno Differential Revision: D46068906 Pulled By: passy fbshipit-source-id: 93da60ebfe2ec590ef88ea1936fcfd5257699cc7
This commit is contained in:
committed by
Facebook GitHub Bot
parent
499fd6b6cd
commit
65f28ecdbe
@@ -19,6 +19,11 @@ android {
|
||||
targetSdkVersion rootProject.targetSdkVersion
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
targetCompatibility rootProject.javaTargetVersion
|
||||
sourceCompatibility rootProject.javaTargetVersion
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly "org.jetbrains.kotlin:kotlin-stdlib:$KOTLIN_VERSION"
|
||||
implementation project(':android')
|
||||
|
||||
@@ -18,6 +18,11 @@ android {
|
||||
targetSdkVersion rootProject.targetSdkVersion
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
targetCompatibility rootProject.javaTargetVersion
|
||||
sourceCompatibility rootProject.javaTargetVersion
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly deps.lithoAnnotations
|
||||
implementation project(':android')
|
||||
|
||||
@@ -19,6 +19,11 @@ android {
|
||||
targetSdkVersion rootProject.targetSdkVersion
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
targetCompatibility rootProject.javaTargetVersion
|
||||
sourceCompatibility rootProject.javaTargetVersion
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib:$KOTLIN_VERSION"
|
||||
implementation project(':android')
|
||||
|
||||
Reference in New Issue
Block a user