Tarika Chawla
10/05/2021, 4:31 PMmain -> fixture -> android/ios
. and the module is in mmain -> kmm -> kmmtestmodule
The pod istall and import works fine, but xcode build fails and I cant call any functions from the kotlin pod.
Xcode Build Error:
build.gradle.kts' line: 3
* What went wrong:
Plugin [id: 'org.jetbrains.kotlin.multiplatform'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (plugin dependency must include a version number for this source)
Grégory Lureau
10/05/2021, 4:35 PMTarika Chawla
10/05/2021, 4:37 PMkotlin("multiplatform")
I tried changing to id("org.jetbrains.kotlin.multiplatform")
but thats not working eitherTarika Chawla
10/05/2021, 4:37 PMGrégory Lureau
10/05/2021, 4:38 PMTarika Chawla
10/05/2021, 4:40 PMGrégory Lureau
10/05/2021, 4:42 PMimplementation("org.jetbrains.kotlinkotlin gradle plugin1.5.31")That's the kotlin version source right there.
Grégory Lureau
10/05/2021, 4:43 PMTarika Chawla
10/05/2021, 4:44 PMTarika Chawla
10/05/2021, 5:43 PMbuildscript {
repositories {
google()
mavenCentral()
jcenter()
}
dependencies {
classpath("com.android.tools.build:gradle:4.0.2")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30")
}
}
Grégory Lureau
10/05/2021, 6:01 PMTarika Chawla
10/05/2021, 6:26 PM