Skip to content

Commit 3085dec

Browse files
authored
Merge pull request #862 from icerockdev/develop
Release 0.26.0
2 parents 24778a2 + 972265e commit 3085dec

111 files changed

Lines changed: 2664 additions & 721 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ implement all your UI in Kotlin with Jetpack Compose and MOKO resources.
4545

4646
## Requirements
4747

48-
- Gradle version 7.5+
49-
- Kotlin 1.9.20+
50-
- Android Gradle Plugin 7.4.2+
48+
- Gradle version 8.4+
49+
- Kotlin 2.1.0+
50+
- Android Gradle Plugin 8.3.0+
5151
- Android API 16+
52-
- iOS version 11.0+
52+
- iOS version 12.0+
5353
- Compose Multiplatform 1.6.0+
5454

5555
## Installation

gradle.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ org.gradle.caching=true
55
kotlin.code.style=official
66

77
kotlin.mpp.stability.nowarn=true
8-
kotlin.mpp.androidGradlePluginCompatibility.nowarn=true
98
kotlin.mpp.androidSourceSetLayoutVersion=2
109
kotlin.mpp.applyDefaultHierarchyTemplate=false
1110
kotlin.mpp.enableCInteropCommonization=true

gradle/libs.versions.toml

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
11
[versions]
2-
kotlinVersion = "1.9.25"
3-
androidGradleVersion = "8.1.4"
4-
androidSdkCommonVersion = "31.1.2"
2+
# --- Runtime versions ---
3+
# Minimum compatibility baseline for library modules (resources, compose, etc.).
4+
# Allows users to use moko-resources WITHOUT forcing them to update their projects.
5+
kotlinVersion = "2.1.0"
6+
androidGradleVersion = "8.3.0"
7+
androidSdkCommonVersion = "31.13.2"
8+
9+
# --- Plugin versions (Tooling only) ---
10+
# Used EXCLUSIVELY in the generator plugin module via 'compileOnly'.
11+
# We use current APIs (available in 8.13.2+) to ensure compatibility with
12+
# the widest range of AGP versions: from the minimum (8.3)
13+
# to the current (9.0+ at this time).
14+
pluginKotlinVersion = "2.3.0"
15+
pluginAndroidGradleVersion = "8.13.2"
16+
517

618
# kotlinx
719
kotlinxSerializationVersion = "1.6.1"
8-
kotlinxCoroutinesVersion = "1.8.0"
20+
kotlinxCoroutinesVersion = "1.9.0"
921
kotlinxBrowserVersion = "0.3"
1022

1123
# android
@@ -55,11 +67,18 @@ commonsCodec = { module = "commons-codec:commons-codec", version.ref = "commonsC
5567
icu4j = { module = "com.ibm.icu:icu4j", version.ref = "icu4jVersion" }
5668

5769
# gradle
70+
pluginKotlinGradlePlugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "pluginKotlinVersion" }
71+
pluginAndroidGradlePlugin = { module = "com.android.tools.build:gradle", version.ref = "pluginAndroidGradleVersion" }
72+
pluginKotlinCompilerEmbeddable = { module = "org.jetbrains.kotlin:kotlin-compiler-embeddable", version.ref = "pluginKotlinVersion" }
73+
pluginAndroidMultiplatformLibraryPlugin = { module = "com.android.kotlin.multiplatform.library: com.android.kotlin.multiplatform.library.gradle.plugin", version.ref = "pluginAndroidGradleVersion" }
74+
5875
kotlinGradlePlugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlinVersion" }
5976
androidGradlePlugin = { module = "com.android.tools.build:gradle", version.ref = "androidGradleVersion" }
6077
androidSdkCommon = { module = "com.android.tools:sdk-common", version.ref = "androidSdkCommonVersion" }
61-
kotlinCompilerEmbeddable = { module = "org.jetbrains.kotlin:kotlin-compiler-embeddable", version.ref = "kotlinVersion" }
6278
detektGradlePlugin = { module = "io.gitlab.arturbosch.detekt:detekt-gradle-plugin", version.ref = "detektVersion" }
6379
mokoMultiplatformPlugin = { module = "dev.icerock:mobile-multiplatform", version.ref = "mokoMultiplatformPluginVersion" }
6480
composeJetBrainsPlugin = { module = "org.jetbrains.compose:compose-gradle-plugin", version.ref = "composeJetbrainsVersion" }
6581
nexusPublishing = { module = "io.github.gradle-nexus:publish-plugin", version = "2.0.0" }
82+
83+
[plugins]
84+
composeCompiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlinVersion" }

gradle/moko.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
resourcesVersion = "0.25.2"
2+
resourcesVersion = "0.26.0"
33

44
[libraries]
55
resources = { module = "dev.icerock.moko:resources", version.ref = "resourcesVersion" }
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#Tue Jul 25 10:40:31 NOVT 2023
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
55
networkTimeout=10000
66
zipStoreBase=GRADLE_USER_HOME
77
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)