Skip to content

Commit 2d6dc5f

Browse files
authored
Merge pull request #81 from joreilly/dependency_upddates
Kotlin 2.0 + related dependencies
2 parents 77d9b88 + be032b1 commit 2d6dc5f

File tree

4 files changed

+38
-19
lines changed

4 files changed

+38
-19
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
![kotlin-version](https://img.shields.io/badge/kotlin-2.0.0-blue?logo=kotlin)
2+
13
Kotlin/Compose Multiplatform project to show climate related emission data from https://climatetrace.org/data. Development just started so very much work in progress right now!
24
Have started with showing sector emission data per country but ton of other info available as well (ideas very welcome!).
35

@@ -47,3 +49,16 @@ The iOS client as mentioned includes shared Compose Multiplatform UI code. It a
4749

4850
<img width="694" alt="Screenshot 2023-12-14 at 20 33 45" src="https://github.com/joreilly/ClimateTraceKMP/assets/6302/82ed364a-0284-4e5c-b81e-40fdfc58f312">
4951

52+
## Full set of Kotlin Multiplatform/Compose/SwiftUI samples
53+
54+
* PeopleInSpace (https://github.com/joreilly/PeopleInSpace)
55+
* GalwayBus (https://github.com/joreilly/GalwayBus)
56+
* Confetti (https://github.com/joreilly/Confetti)
57+
* BikeShare (https://github.com/joreilly/BikeShare)
58+
* FantasyPremierLeague (https://github.com/joreilly/FantasyPremierLeague)
59+
* ClimateTrace (https://github.com/joreilly/ClimateTraceKMP)
60+
* GeminiKMP (https://github.com/joreilly/GeminiKMP)
61+
* MortyComposeKMM (https://github.com/joreilly/MortyComposeKMM)
62+
* StarWars (https://github.com/joreilly/StarWars)
63+
* WordMasterKMP (https://github.com/joreilly/WordMasterKMP)
64+
* Chip-8 (https://github.com/joreilly/chip-8)

gradle/libs.versions.toml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
11
[versions]
2+
kotlin = "2.0.0"
3+
ksp = "2.0.0-1.0.21"
4+
kotlinx-coroutines = "1.8.1"
5+
6+
27
agp = "8.2.2"
38
android-compileSdk = "34"
49
android-minSdk = "24"
510
android-targetSdk = "34"
611
androidx-activityCompose = "1.9.0"
7-
compose = "1.6.6"
8-
compose-plugin = "1.6.10-beta03"
12+
compose = "1.6.7"
13+
compose-plugin = "1.6.10"
914
composeWindowSize = "0.5.0"
1015
harawata-appdirs = "1.2.1"
1116
koalaplot = "0.5.3"
12-
koin = "3.6.0-alpha3"
13-
koinCompose = "1.2.0-alpha3"
14-
kotlin = "2.0.0-RC2"
15-
kotlinx-coroutines = "1.8.0"
16-
kmpNativeCoroutines = "1.0.0-ALPHA-28-kotlin-2.0.0-RC2"
17-
kmpObservableViewModel = "1.0.0-BETA-1-kotlin-2.0.0-RC2"
18-
ksp = "2.0.0-RC2-1.0.20"
17+
koin = "3.6.0-Beta4"
18+
koin-android-compose = "3.6.0-Beta4"
19+
koin-compose-multiplatform = "1.2.0-Beta4"
20+
kmpNativeCoroutines = "1.0.0-ALPHA-31"
21+
kmpObservableViewModel = "1.0.0-BETA-3"
1922
kstore = "0.8.0"
2023
ktor = "3.0.0-wasm2"
2124
treemapChart = "0.1.1"
@@ -30,7 +33,7 @@ compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview"
3033
compose-window-size = { module = "dev.chrisbanes.material3:material3-window-size-class-multiplatform", version.ref = "composeWindowSize" }
3134

3235
koin-android = { module = "io.insert-koin:koin-android", version.ref = "koin" }
33-
koin-compose = { module = "io.insert-koin:koin-compose", version.ref = "koinCompose" }
36+
koin-compose = { module = "io.insert-koin:koin-compose", version.ref = "koin-compose-multiplatform" }
3437
koin-core = { module = "io.insert-koin:koin-core", version.ref = "koin" }
3538

3639

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

settings.gradle.kts

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
1-
rootProject.name = "ClimateTraceKMP"
2-
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
3-
41
pluginManagement {
52
repositories {
6-
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
7-
google()
8-
gradlePluginPortal()
3+
google {
4+
content {
5+
includeGroupByRegex("com\\.android.*")
6+
includeGroupByRegex("com\\.google.*")
7+
includeGroupByRegex("androidx.*")
8+
}
9+
}
910
mavenCentral()
11+
gradlePluginPortal()
1012
}
1113
}
12-
1314
dependencyResolutionManagement {
1415
repositories {
1516
google()
1617
mavenCentral()
17-
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
1818
maven("https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental")
1919
}
2020
}
2121

22+
rootProject.name = "ClimateTraceKMP"
2223
include(":composeApp")

0 commit comments

Comments
 (0)