From b248a1b94501e2d451cf047d0f8f5e2d220c8ab0 Mon Sep 17 00:00:00 2001 From: bennyhuo Date: Sun, 15 Dec 2024 22:13:16 +0800 Subject: [PATCH] Bump Kotlin to 2.0.20. --- .gitignore | 3 ++- README.md | 1 + README_zh.md | 1 + build.gradle.kts | 2 +- gradle.properties | 2 +- kace-sample/build.gradle.kts | 2 +- 6 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 4446b63..af3181b 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ local.properties build captures .externalNativeBuild -.cxx \ No newline at end of file +.cxx +.kotlin \ No newline at end of file diff --git a/README.md b/README.md index 58fd1f1..0b89db0 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,7 @@ The Kace currently supports the above four most commonly used types. Other types | 1.9.0-1.2.0 | 1.9.0~1.9.20 | 4.2.2 | 6.8.3 | | 1.9.20-1.2.0 | 1.9.20 | 4.2.2 | 6.8.3 | | 2.0.0-1.2.0 | 2.0.0 | 7.1.3 | 7.2 | +| 2.0.20-1.2.0 | 2.0.20 | 7.1.3 | 7.2 | Since the goal of the Kace is to help developers easily upgrade to Kotlin 1.8, the minimum supported version of Kotlin is relatively high diff --git a/README_zh.md b/README_zh.md index 981bc96..881acf0 100644 --- a/README_zh.md +++ b/README_zh.md @@ -75,6 +75,7 @@ Kace 目前支持了以上四种最常用的类型,其他 kotlin-android-exten | 1.9.0-1.2.0 | 1.9.0~1.9.20 | 4.2.2 | 6.8.3 | | 1.9.20-1.2.0 | 1.9.20 | 4.2.2 | 6.8.3 | | 2.0.0-1.2.0 | 2.0.0 | 7.1.3 | 7.2 | +| 2.0.20-1.2.0 | 2.0.20 | 7.1.3 | 7.2 | 由于 Kace 的目标是帮助开发者更方便地迁移到 Kotlin 1.8,因此 Kotlin 最低支持版本比较高 diff --git a/build.gradle.kts b/build.gradle.kts index c053ef8..b433cce 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -2,7 +2,7 @@ plugins { id("com.android.application") version "7.1.3" apply false id("com.android.library") version "7.1.3" apply false - id("org.jetbrains.kotlin.android") version "2.0.0" apply false + id("org.jetbrains.kotlin.android") version "2.0.20" apply false id("com.vanniktech.maven.publish") version "0.18.0" apply false id("com.github.gmazzo.buildconfig") version "2.1.0" apply false } diff --git a/gradle.properties b/gradle.properties index a42334b..de4081d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -23,7 +23,7 @@ kotlin.code.style=official android.nonTransitiveRClass=true KOTLIN_PLUGIN_ID=com.kanyun.kace -VERSION_NAME=2.0.0-1.2.0-SNAPSHOT +VERSION_NAME=2.0.20-1.2.0-SNAPSHOT GROUP=com.kanyun.kace diff --git a/kace-sample/build.gradle.kts b/kace-sample/build.gradle.kts index 6a6cacf..fab16aa 100644 --- a/kace-sample/build.gradle.kts +++ b/kace-sample/build.gradle.kts @@ -2,7 +2,7 @@ plugins { id("com.android.application") apply false id("com.android.library") apply false - id("org.jetbrains.kotlin.android") version "2.0.0" apply false + id("org.jetbrains.kotlin.android") version "2.0.20" apply false id("com.kanyun.kace") version "0.0.0-SNAPSHOT" apply false }