fix(deps): update moko to v0.24.1 (#933)

* fix(deps): update moko to v0.24.1

* Fix build

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
This commit is contained in:
renovate[bot] 2024-06-21 02:43:48 +06:00 committed by GitHub
parent cf02119da5
commit f58a05e918
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
131 changed files with 4 additions and 8 deletions

View file

@ -8,7 +8,7 @@ private val emptyResourcesElement = "<resources>\\s*</resources>|<resources/>".t
fun Project.getLocalesConfigTask(): TaskProvider<Task> {
return tasks.register("generateLocalesConfig") {
val locales = fileTree("$projectDir/src/commonMain/resources/MR/")
val locales = fileTree("$projectDir/src/commonMain/moko-resources/")
.matching { include("**/strings.xml") }
.filterNot { it.readText().contains(emptyResourcesElement) }
.map {

View file

@ -1,7 +1,7 @@
[versions]
aboutlib_version = "11.2.1"
leakcanary = "2.14"
moko = "0.23.0"
moko = "0.24.1"
okhttp_version = "5.0.0-alpha.14"
richtext = "0.20.0"
shizuku_version = "12.2.0"

View file

@ -13,15 +13,11 @@ kotlin {
applyDefaultHierarchyTemplate()
sourceSets {
val commonMain by getting {
commonMain {
dependencies {
api(libs.moko.core)
}
}
androidMain {
dependsOn(commonMain) // https://github.com/icerockdev/moko-resources/issues/562
}
}
}
@ -40,7 +36,7 @@ android {
}
multiplatformResources {
multiplatformResourcesPackage = "tachiyomi.i18n"
resourcesPackage.set("tachiyomi.i18n")
}
tasks {

Some files were not shown because too many files have changed in this diff Show more