Arkadii Ivanov
11/06/2020, 6:16 PMtransitiveExport=true
flag if we want to export all classes from transitive dependencies to the iOS Framework (not only explicitly used classes).
ios {
binaries {
framework {
// deps here
transitiveExport = true
}
}
}
Umar Ata
11/06/2020, 8:32 PMDeor
11/08/2020, 7:31 AMStan Potemkin
11/09/2020, 6:47 PMdazza5000
11/11/2020, 1:06 AMimplementation("org.jetbrains.kotlinx:kotlinx-serialization-runtime:0.20.0")
dazza5000
11/11/2020, 1:44 AMUmar Ata
11/12/2020, 7:55 PMUmar Ata
11/13/2020, 7:23 PMUmar Ata
11/13/2020, 7:23 PMUmar Ata
11/13/2020, 7:24 PMfrankelot
11/14/2020, 3:53 PMUnresolved reference: CoreModule
(but the project build just fine), anyone experienced something similar?
Using Android studio 4.1.1 (but also happens on canary)
ext.kotlin_version = '1.4.10'
ext.android_gradle_version = '4.1.1'
frankelot
11/14/2020, 3:55 PMfrankelot
11/14/2020, 3:59 PMfrankelot
11/14/2020, 3:59 PMAndrew
11/15/2020, 6:42 PMESchouten
11/16/2020, 1:17 PMGerman Politov
11/17/2020, 3:06 PMAlisonfernandes
11/17/2020, 3:09 PMCicero
11/18/2020, 9:00 PMAmritansh
11/19/2020, 2:04 AMCicero
11/19/2020, 7:46 AMwilliam
11/19/2020, 1:23 PMDaniele B
11/19/2020, 2:26 PMTristan Hamilton
11/20/2020, 12:50 PMrsetkus
11/20/2020, 6:06 PMapi(project(":B")
getting and error java.lang.IllegalStateException: e: Failed to resolve Kotlin library: ../library/build/kotlinSourceSetMetadata/commonMain/io.ktor-ktor-utils-metadata/io.ktor-ktor-utils-metadata-utilsInterop.klib
A module build script https://gist.github.com/rsetkus/44a0628fd8b62ff984ef3afc20b51d8e
B module build script https://gist.github.com/rsetkus/757254f752ca6b4a9d0a579afe9ae0c8Cicero
11/22/2020, 3:00 PMprivate val json = Json {
isLenient = true; ignoreUnknownKeys = true; coerceInputValues = true; useArrayPolymorphism =
true
}
internal val client = HttpClient() {
install(JsonFeature) {
serializer = KotlinxSerializer(json)
}
}
I’m used to working only on Android and my setup usually looked like this:
fun getRetrofit(): Retrofit {
return Retrofit.Builder()
.client(getOkHttpClientClient())
.baseUrl(BASE_URL)
.addConverterFactory(GsonConverterFactory.create())
.build()
}
Andrew
11/22/2020, 8:52 PMaddamsson
11/23/2020, 8:17 PMaddamsson
11/23/2020, 8:17 PMaddamsson
11/23/2020, 8:18 PM