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

View File

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

View File

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

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