android - 选择的 Kotlin 版本未反映在 Gradle Wrapper 输出中
问题描述
我刚刚将 Kotlin 版本从 1.3.72 升级到 1.4.32。我希望这会反映在 Gradle 包装器的输出中,但我看不到这种情况发生:
$ ./gradlew --version
------------------------------------------------------------
Gradle 6.7.1
------------------------------------------------------------
Build time: 2020-11-16 17:09:24 UTC
Revision: 2972ff02f3210d2ceed2f1ea880f026acfbab5c0
Kotlin: 1.3.72
Groovy: 2.5.12
Ant: Apache Ant(TM) version 1.10.8 compiled on May 10 2020
JVM: 11.0.12 (Oracle Corporation 11.0.12+7)
OS: Linux 5.11.0-31-generic amd64
可以看出,版本已经设置:
$ grep kotlin build.gradle
ext.kotlin_version = '1.4.32'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
我想我缺少一些东西......