Soundlicious
12/12/2023, 10:25 AMJhaman das
12/12/2023, 10:43 AMSoundlicious
12/12/2023, 10:44 AMJhaman das
12/12/2023, 10:45 AMkotlin 1.9.20
Soundlicious
12/12/2023, 10:46 AMJhaman das
12/12/2023, 10:48 AMdependsOn(commonMain)
inside the android block in shared build.gradle
fileSoundlicious
12/12/2023, 10:49 AMSoundlicious
12/12/2023, 11:53 AMSoundlicious
12/12/2023, 11:55 AMSoundlicious
12/12/2023, 12:35 PMRaed Ghazal
12/12/2023, 12:46 PMapi("dev.icerock.moko:resources:0.23.0")
api("dev.icerock.moko:resources-compose:0.23.0")
iOS targets
framework {
baseName = "shared"
isStatic = true
export("dev.icerock.moko:resources:0.23.0")
}
had to also do that
val androidMain by getting {
sourceSets {
getByName("androidMain").kotlin.srcDirs("build/generated/moko/androidMain/src")
}
and
val iosX64Main by getting {
resources.srcDirs("build/generated/moko/iosX64Main/src")
}
val iosArm64Main by getting {
resources.srcDirs("build/generated/moko/iosArm64Main/src")
}
val iosSimulatorArm64Main by getting {
resources.srcDirs("build/generated/moko/iosSimulatorArm64Main/src")
}
Raed Ghazal
12/12/2023, 12:46 PMhad to also do thatthis part found in one of the issues in their github as a temp fix until they fix their code
Soundlicious
12/12/2023, 2:09 PMRaed Ghazal
12/12/2023, 2:22 PMRaed Ghazal
12/12/2023, 2:22 PMno build for the resources thereeven after you rebuild the app?
Soundlicious
12/12/2023, 2:24 PMSoundlicious
12/12/2023, 2:24 PMRaed Ghazal
12/12/2023, 2:25 PMRaed Ghazal
12/12/2023, 2:25 PMSoundlicious
12/12/2023, 2:25 PMRaed Ghazal
12/12/2023, 2:26 PMRaed Ghazal
12/12/2023, 2:28 PMmultiplatformResources
โ block?Soundlicious
12/12/2023, 2:32 PMmultiplatformResourcesPackage = "dev.nar.resources" // required
Soundlicious
12/12/2023, 2:59 PMSoundlicious
12/12/2023, 3:00 PMRaed Ghazal
12/12/2023, 3:10 PMSoundlicious
12/12/2023, 3:11 PMRaed Ghazal
12/12/2023, 3:11 PMRaed Ghazal
12/12/2023, 3:11 PMSoundlicious
12/12/2023, 3:13 PM