File tree Expand file tree Collapse file tree
packages/home_widget/example/android Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11plugins {
22 id " com.android.application"
33 id " kotlin-android"
4+ id " org.jetbrains.kotlin.plugin.compose"
45 id " dev.flutter.flutter-gradle-plugin"
56}
67
@@ -23,8 +24,8 @@ if (flutterVersionName == null) {
2324}
2425
2526android {
26- compileSdkVersion 35
27- ndkVersion = " 26.3.11579264 "
27+ compileSdkVersion = flutter . compileSdkVersion
28+ ndkVersion = flutter . ndkVersion
2829
2930 sourceSets {
3031 main. java. srcDirs + = ' src/main/kotlin'
@@ -45,8 +46,8 @@ android {
4546
4647 defaultConfig {
4748 applicationId " es.antonborri.home_widget_example"
48- minSdkVersion 23
49- targetSdkVersion 35
49+ minSdk = flutter . minSdkVersion
50+ targetSdk = flutter . targetSdkVersion
5051 multiDexEnabled true
5152 versionCode flutterVersionCode. toInteger()
5253 versionName flutterVersionName
Original file line number Diff line number Diff line change 1- org.gradle.jvmargs =-Xmx1536M
1+ org.gradle.jvmargs =-Xmx4096M
22android.enableR8 =true
33android.useAndroidX =true
44android.enableJetifier =true
55android.defaults.buildfeatures.buildconfig =true
66android.nonTransitiveRClass =false
77android.nonFinalResIds =false
8+ org.gradle.parallel =true
9+ org.gradle.daemon =true
10+ org.gradle.configureondemand =true
Original file line number Diff line number Diff line change @@ -18,8 +18,9 @@ pluginManagement {
1818
1919plugins {
2020 id " dev.flutter.flutter-plugin-loader" version " 1.0.0"
21- id " com.android.application" version ' 8.6.1' apply false
22- id " org.jetbrains.kotlin.android" version " 1.9.20" apply false
21+ id " com.android.application" version " 8.6.0" apply false
22+ id " org.jetbrains.kotlin.android" version " 2.1.0" apply false
23+ id " org.jetbrains.kotlin.plugin.compose" version " 2.1.0" apply false
2324}
2425
25- include " :app"
26+ include " :app"
You can’t perform that action at this time.
0 commit comments