Hi folks, I’m receiving an error like this one wh...
# multiplatform
g
Hi folks, I’m receiving an error like this one when trying to run a
publishToMavenLocal
task of mine:
Copy code
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':myLibrary:generateMetadataFileForMyLibraryIosX64Publication'.
...
Caused by: java.lang.ClassCastException: org.jetbrains.kotlin.gradle.plugin.mpp.HierarchyAttributeContainer cannot be cast to org.gradle.api.internal.attributes.AttributeContainerInternal
Would you have any clue as to what might cause this? I’m using a configuration like:
compilations["main"].outputKinds("framework")
but even if I disable it I receive the same error
l
Which Kotlin and Gradle versions are you using?
g
I’m using Kotlin
1.3.21
and Gradle
5.2.1
l
@GarouDan Please, try with Gradle 5.1.1 or with Kotlin 1.3.30-eap-125 (or later when a new #eap version is out)