Skip to content

Commit 2558c32

Browse files
committed
update kotlin and glance
1 parent 0c023aa commit 2558c32

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

android/app/build.gradle

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ plugins {
22
id "com.android.application"
33
id "kotlin-android"
44
id "dev.flutter.flutter-gradle-plugin"
5+
id "org.jetbrains.kotlin.plugin.compose" version "2.1.0"
56
}
67
def localProperties = new Properties()
78
def localPropertiesFile = rootProject.file('local.properties')
@@ -43,7 +44,7 @@ android {
4344
}
4445

4546
composeOptions {
46-
kotlinCompilerExtensionVersion = "1.5.10"
47+
kotlinCompilerExtensionVersion = "1.5.15"
4748
}
4849

4950
kotlinOptions {
@@ -94,12 +95,13 @@ flutter {
9495

9596
dependencies {
9697
// All of this for AppWidgets support
97-
implementation "androidx.compose.runtime:runtime:1.6.2"
98-
implementation "androidx.compose.runtime:runtime-livedata:1.6.2"
99-
implementation "androidx.compose.runtime:runtime-rxjava2:1.6.2"
100-
implementation "androidx.glance:glance-appwidget:1.0.0"
101-
implementation "androidx.glance:glance-material3:1.0.0"
102-
implementation 'androidx.compose.ui:ui-unit-android:1.6.2'
98+
// ...but looks like we don't need those for now...
99+
// implementation "androidx.compose.runtime:runtime:1.7.6"
100+
// implementation "androidx.compose.runtime:runtime-livedata:1.7.6"
101+
// implementation "androidx.compose.runtime:runtime-rxjava2:1.7.6"
102+
// implementation 'androidx.compose.ui:ui-unit-android:1.7.6'
103+
implementation "androidx.glance:glance-appwidget:1.1.1"
104+
implementation "androidx.glance:glance-material3:1.1.1"
103105

104106
// this is to manually launch our routine update - same version as workmanager plugin 0.5.1
105107
def work_version = "2.8.1"

android/settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pluginManagement {
1919
plugins {
2020
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
2121
id "com.android.application" version "8.5.2" apply false
22-
id "org.jetbrains.kotlin.android" version "1.9.22" apply false
22+
id "org.jetbrains.kotlin.android" version "2.1.0" apply false
2323
}
2424

2525
include ":app"

0 commit comments

Comments
 (0)