Skip to content

Commit 5c3382c

Browse files
committed
build(android): update Kotlin version and add CMake configuration
- Update Kotlin plugin version from 1.8.22 to 2.2.10 - Update ndkVersion from 29.0.13846066 to 28.2.13676358 - Add CMake configuration with version 4.1.0
1 parent a1b80a1 commit 5c3382c

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

android/app/build.gradle.kts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,19 @@ plugins {
1111
android {
1212
namespace = "com.example.flutter_news_app_mobile_client_full_source_code"
1313
compileSdk = flutter.compileSdkVersion
14-
ndkVersion = "29.0.13846066"
14+
ndkVersion = "28.2.13676358"
1515

1616
compileOptions {
1717
sourceCompatibility = JavaVersion.VERSION_11
1818
targetCompatibility = JavaVersion.VERSION_11
1919
}
2020

21+
externalNativeBuild {
22+
cmake {
23+
version = "4.1.0"
24+
}
25+
}
26+
2127
kotlinOptions {
2228
jvmTarget = JavaVersion.VERSION_11.toString()
2329
}

android/settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ plugins {
2222
// START: FlutterFire Configuration
2323
id("com.google.gms.google-services") version("4.3.15") apply false
2424
// END: FlutterFire Configuration
25-
id("org.jetbrains.kotlin.android") version "1.8.22" apply false
25+
id("org.jetbrains.kotlin.android") version "2.2.10" apply false
2626
}
2727

2828
include(":app")

0 commit comments

Comments
 (0)