msa1422 / KMM-Arch-PetSearch

Kotlin-Multiplatform Mobile app which connects to PetFinder Api and let's you browse adorable pets.
MIT License
19 stars 0 forks source link

New Kotlin sourceset layout breaks Moko resources #2

Closed DigitalKoi closed 1 year ago

DigitalKoi commented 1 year ago

The new sourceset layout brought on by the Kotlin update to 1.8 seems to break Moko resources

Execution failed for task ':petsearch-shared:resources:packageDebugResources'.

msa1422 commented 1 year ago

This issue #410 has already been reported in the Moko-resources Github repo and it has been added to the next milestone of the library. In my case, this issue arises with a combination of K1.8.0, AGP-7.4.1 & kotlin.mpp.androidSourceSetLayoutVersion=2. To avoid the issue, I have kept the AGP version to 7.4.0 as of now and I am desperately hoping that the primary maintainer of the Moko-resources (@Alex009) updates the library soon.

Alex009 commented 1 year ago

@msa1422 check release 0.21.0 please

msa1422 commented 1 year ago

Upgrading MokoResources to v0.21.0, fixes this issue.