Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,12 @@ jobs:
with:
java-version: 17
distribution: zulu
- name: Prebuild library
run: ./gradlew publishToMavenLocal
- name: Publish
# gradle configuration cache not supported in https://github.com/gradle-nexus/publish-plugin
run: ./gradlew publish --no-configuration-cache
# Publish plugin lacks configuration cache support:
# https://github.com/gradle-nexus/publish-plugin/issues/221
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository --no-configuration-cache

release:
name: Create release
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.gradle
.kotlin
.settings
.project
.classpath
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ on the platforms. Converts the exception class to an error object to display. Th
`SelectorErrorPresenter` - for selecting error presenter by some custom condition.

## Requirements
- Kotlin 1.9.0
- Kotlin 2.1.0
- Gradle version 6.8+
- Android API 16+
- iOS version 11.0+
Expand All @@ -45,7 +45,7 @@ allprojects {
project build.gradle
```groovy
dependencies {
commonMainApi("dev.icerock.moko:errors:0.8.0")
commonMainApi("dev.icerock.moko:errors:0.9.0")
}
```

Expand Down
6 changes: 6 additions & 0 deletions errors/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ android {
namespace = "dev.icerock.moko.errors"
}

kotlin {
compilerOptions {
freeCompilerArgs.add("-Xexpect-actual-classes")
}
}

dependencies {
commonMainImplementation(libs.coroutines)

Expand Down
3 changes: 3 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ moko.android.targetSdk=33
moko.android.compileSdk=33
moko.android.minSdk=16

mobile.multiplatform.useIosShortcut=false
moko.resources.disableStaticFrameworkWarning=true

moko.publish.name=MOKO errors
moko.publish.description=Automated exceptions handler for mobile (android & ios) Kotlin Multiplatform development.
moko.publish.repo.org=icerockdev
Expand Down
10 changes: 5 additions & 5 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[versions]
kotlinVersion = "1.9.25"
kotlinVersion = "2.1.0"
androidAppCompatVersion = "1.6.1"
materialDesignVersion = "1.8.0"
androidLifecycleVersion = "2.2.0"
androidCoreTestingVersion = "2.2.0"
coroutinesVersion = "1.6.4"
mokoMvvmVersion = "0.16.1"
mokoResourcesVersion = "0.24.1"
mokoErrorsVersion = "0.8.0"
mokoResourcesVersion = "0.26.0"
mokoErrorsVersion = "0.9.0"

[libraries]
# android
Expand All @@ -30,6 +30,6 @@ androidCoreTesting = { module = "androidx.arch.core:core-testing", version.ref =

# gradle plugins
kotlinGradlePlugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlinVersion" }
androidGradlePlugin = { module = "com.android.tools.build:gradle", version = "8.3.2" }
androidGradlePlugin = { module = "com.android.tools.build:gradle", version = "8.4.0" }
mokoResourcesGradlePlugin = { module = "dev.icerock.moko:resources-generator", version.ref = "mokoResourcesVersion" }
mokoGradlePlugin = { module = "dev.icerock.moko:moko-gradle-plugin", version = "0.4.2" }
mokoGradlePlugin = { module = "dev.icerock.moko:moko-gradle-plugin", version = "0.6.0" }
5 changes: 3 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#Tue Apr 16 13:01:03 NOVT 2024
#Tue Feb 10 14:55:08 NOVT 2026
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
distributionSha256Sum=9631d53cf3e74bfa726893aee1f8994fee4e060c401335946dba2156f440f24c
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion sample/ios-app/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: e8746dc30e9d53a96c59e8f821148cde03ea8c5b

COCOAPODS: 1.15.2
COCOAPODS: 1.16.2
Loading