wakingrufus
01/16/2019, 3:17 AMh0tk3y
01/16/2019, 10:32 AMrusshwolf
01/17/2019, 4:17 AM./gradlew clean build check publishToMavenLocal
in root directory
2. run ./gradlew clean build check
in app
directory
If the library used publishAllLibraryVariants()
this works fine, but if I do publishLibraryVariants("release")
I get an error because the debug app build can’t figure out which library variant to use.russhwolf
01/17/2019, 4:19 AMapp
fail to build unless I add the library dependency to both commonMain
and commonTest
.galex
01/17/2019, 6:34 AMeinar
01/17/2019, 10:19 AMTzahi Moyal
01/17/2019, 10:37 AMalexfacciorusso
01/17/2019, 2:16 PMnikolaymetchev
01/17/2019, 4:20 PMkgonyon
01/17/2019, 4:27 PMUndefined symbols for architecture arm64:
"___isOSVersionAtLeast", referenced from:
+[GULAppEnvironmentUtil isAppStoreReceiptSandbox] in GoogleUtilities(GULAppEnvironmentUtil.o)
"_utf8_nextCharSafeBody", referenced from:
-[FSRWebSocket _innerPumpScanner] in FirebaseDatabase(FSRWebSocket.o)
ld: symbol(s) not found for architecture arm64
Diego
01/18/2019, 12:53 PMBuildConfig
class avaialble, how can I know from commonMain
the build type?o.semen
01/18/2019, 1:20 PMid 'org.jetbrains.kotlin.frontend' version '0.0.44'
I received an error
Cannot add task ':app:bundle' as a task with that name already exists.
this task is created by com.android.application
darych
01/19/2019, 10:14 AMthana
01/21/2019, 8:29 AMcommonMain
dependency on lets call it A
.
What does A
have to provide in order to be usable as a dependency? Does A
have ro provide a .class
as well as a .js
artifact? Does kotlin kompile `A`s kotlin code into the target's format?thana
01/21/2019, 9:01 AMjtsgen
, a project written in java that allows to generate typscript typings from java- and kotlin classes. the problem: it uses kapt
to generate them which drives it more or less impossible. i'd need to use it as common
-dependency to use the annotations which isn't possible and OTOH using kapt seems to be impossible in MPP, too.
But there is a glimmer of hope left: in fact we would need this dependency only at compiletime and there is nothing left at runtime.
Can anyone imagine a way to use it?kkovach
01/21/2019, 4:43 PMAshley Figueira
01/21/2019, 6:05 PMAlexander
01/21/2019, 9:41 PMktor-http
dependency in a multiplatform project? I added io.ktor:ktor-http
dependency inside the commonMain
. As ktor-http
is a multiplatform library itself I expected this should be enough. But for jvm
I should also add io.ktor:ktor-http-cio
and for js
it only works if there is io.ktor:ktor-client-js
dependency. Why is single common dependency not enough?kgonyon
01/21/2019, 9:58 PMKClass
of an object defined in Kotlin from Swift? I have a function defined in Kotlin that has an argument type: KClass
and I need a way to call that function from Swift, but not sure how to pass in the type.Slackbot
01/22/2019, 8:46 AMOleg Yukhnevich
01/22/2019, 9:17 AMDrew
01/22/2019, 5:31 PMkotlin.native.concurrent.InvalidMutabilityException: mutation attempt of frozen io.ktor.client.request.HttpRequestPipeline@3f59548
I've tried downgrading to Kotlin 1.3.10, as that seemed to be suggested on SO. However, it still throws the same exception.
Kotlin 1.3.11/10
Ktor 1.1.1
Coroutines 1.1.0basher
01/22/2019, 7:41 PM@Serializable
working on multiplatform building for iOS? Running into this build error:
cannot access 'Serializable': it is internal in '<http://kotlin.io|kotlin.io>'
I've checked the existing GH issues where it appeared people just had import/plugin issues, but I think I'm doing that right:
- apply plugin: 'kotlin-multiplatform'
- apply plugin: 'kotlinx-serialization'
- implementation: "org.jetbrains.kotlinx:kotlinx-serialization-runtime-native:${versions.serialization}"
- import kotlinx.serialization.Serializable
Something I'm missing?Rak
01/22/2019, 10:30 PMankushg
01/22/2019, 11:58 PMaddamsson
01/23/2019, 12:21 PMhmole
01/23/2019, 2:41 PM0.3
`.metadata`while being on 0.4
? I'm trying to use ktor-client-ios-iosx64
, but it won't import with GRADLE_METADATA
enabled.Drew
01/23/2019, 10:29 PMhmole
01/24/2019, 8:18 AMdef iosTarget = project.findProperty("IOS_TARGET")
kotlin {
targetFromPreset(presets[iosTarget], "ios") {
}
}
bdeg
01/24/2019, 11:12 AMbdeg
01/24/2019, 11:12 AMcoolcat
01/24/2019, 11:36 AMthana
01/24/2019, 11:38 AMaddamsson
01/24/2019, 11:55 AMbdeg
01/24/2019, 1:52 PMthana
01/24/2019, 1:55 PMbdeg
01/24/2019, 2:12 PM