Does anyone use the cocoapods plugin with groovy g...
# kotlin-native
r
Does anyone use the cocoapods plugin with groovy gradle scripts? I'm trying to check the compatibility of some other code with groovy scripts, and realizing that I can't even get the cocoapods plugin working. When I call the
framework
block like
Copy code
kotlin {
  cocoapods {
    framework {
      ...
    }
  }
}
I get an ambiguous method overload error. Looking at the tests in the kotlin native repo, I don't see anything that calls
framework
so maybe it's a bug.
Here's the error:
Copy code
> Ambiguous method overloading for method org.jetbrains.kotlin.gradle.plugin.cocoapods.CocoapodsExtension#framework.
  Cannot resolve which method to invoke for [class build_4ve19km4wfbd505ka408cj2d7$_run_closure2$_closure12$_closure30] due to overlapping prototypes between:
  	[interface kotlin.jvm.functions.Function1]
  	[interface org.gradle.api.Action]