Hi guys, do you know the latest supported version ...
# kotlin-native
g
Hi guys, do you know the latest supported version of gradle that I can use with kotlin native? I’m trying with 5.2.1 but I’m receiving the following errors:
Copy code
The IvyArtifactRepository.layout(String, Action) method has been deprecated. This is scheduled to be removed in Gradle 6.0. Please use the IvyArtifactRepository.patternLayout(Action) method instead.
Copy code
Could not create an instance of type org.jetbrains.kotlin.gradle.dsl.KotlinNativeBinaryContainer.
> org.gradle.util.WrapUtil.toNamedDomainObjectSet(Ljava/lang/Class;[Lorg/gradle/api/Named;)Lorg/gradle/api/NamedDomainObjectSet;
This is related with the last message, but for now I would like to try to latest supported version of gradle too.
n
Try 5.1.
g
Thanks, it worked with 5.1.1 too. 5.2 and above seems not to work.
👍 1