moko-resources
moko-resources copied to clipboard
Getting gradle sync error when using with ios
Get error when using with moko resources
> Failed to notify project evaluation listener.
> Cannot change attributes of dependency configuration ':sample:common:iosArm64ApiElements' after it has been resolved
> Cannot change attributes of dependency configuration ':sample:common:iosX64ApiElements' after it has been resolved
It happens when after adding moko resources, my gradle setup like this
plugins {
kotlin("multiplatform")
id("dev.icerock.mobile.multiplatform-resources") version "0.20.1"
}
kotlin {
ios()
sourceSets {
val commonMain by getting
val commonTest by getting
}
}
multiplatformResources {
multiplatformResourcesPackage = "moe.tlaster.common"
}
Gradle version: 7.4.2 Kotlin version: 1.6.21
Am I doing something wrong?
can you create project where this bug reproduced and send here?
It's here https://github.com/Tlaster/moko-spotless-conflict I think it might have a conflict with spotless, I can not apply moko resource with spotless at the same time.
@Tlaster thanks, your project helps. i found cause of error and fix will be in next release
Hi there! Noticed this fix went out back in July, and was hoping it would be possible to get a patch version published with the Spotless fix?
will be released in 0.21.0