mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-21 20:47:03 -05:00
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:
parent
cf02119da5
commit
f58a05e918
131 changed files with 4 additions and 8 deletions
|
@ -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 {
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
Loading…
Reference in a new issue