felipecsl
10/10/2018, 5:27 AMproject.name
tarek
10/10/2018, 2:58 PMcopyFramework
task from the new MPP Mobile sample, I get the following error :
Could not get unknown property 'configuration.build.dir' for task ':app:copyFramework' of type org.gradle.api.DefaultTask.
Do you have any idea why it happens ?Sergio Casero
10/10/2018, 4:46 PMPlugin with id 'com.android.application' not found.
But if try with gradlew assembleDebug, it works, and also works the "run" task without any problems and the apk is correctly installed. Any idea? (I can share the build.gradle files if you need them 🙂 )hmole
10/11/2018, 3:46 PMhallvard
10/11/2018, 5:58 PMcoletz
10/12/2018, 9:33 AMLet's start by creating the SharedCode project
. Should I actually create a NEW project or just use the one I've created for android (following previous tutorial steps) and create a new module? In case, what type of project/module (phone & tablet module, android library, java library etc.)?alec
10/12/2018, 8:42 PMcoletz
10/12/2018, 8:59 PMHamza
10/13/2018, 4:18 AMcoletz
10/13/2018, 12:30 PMhmole
10/13/2018, 4:17 PM1.3-rc146
and gradle 4.7
. Can I use latest kotlinx.serialization
with @Serializable
and @Optional
in common module and parse json with it in native? @sandwwraithcoletz
10/13/2018, 6:30 PMio.ktor:ktor-client-ios:0.9.5
? Cause every other dependency works, while ktor isn't availablerusshwolf
10/13/2018, 6:44 PMhallvard
10/15/2018, 7:22 AMactual
implementations in js need to have the same package names as in jvm? I have some simple data classes, and accessing them in jvm is a matter of using an import statement in the top of the file and then going directly at them by name, but in the js file I have compiled, it seems I have to go the long way with com.company.project.dataclass
names. Should I just define aliases right away when $(document).ready()
?spand
10/15/2018, 9:01 AMrunBlocking
for js hence not in common eitherNikky
10/15/2018, 8:19 PMcoletz
10/15/2018, 10:33 PMdef iOSTarget = System.getenv('SDK_NAME')?.startsWith("iphoneos") \
? presets.iosArm64 : presets.iosX64
Actually I'm not sure about why this is here, I just copy-pasted from other mpp projects/tutorials
Edit: Yep that was the problem, now everything is working, thanks!hmole
10/16/2018, 12:04 PMcommonTest
and androidTest
from another module?coletz
10/16/2018, 6:30 PMtapchicoma
10/17/2018, 11:28 AMagustibm
10/18/2018, 7:10 AMdrofwarcs
10/18/2018, 2:16 PMcheck
tasks which runs all the tests on the targeted platforms. Is there any way to run a single test, or run a single test on just one platform?lawlorslaw
10/18/2018, 3:13 PMjw
10/18/2018, 3:15 PMcoletz
10/19/2018, 9:52 AMkotlinx.serialization
with a mpp project? Only the jsonparser
part of course, since the whole serialization library is not available on k/n
I tried and everything seems fine, gradle is not complaining, IDEA seems ok, but if I try to use anything from kotlinx.serialization.json.*
I get a compile error Unresolved reference
pajatopmr
10/19/2018, 11:47 AMpajatopmr
10/19/2018, 12:02 PMcoletz
10/19/2018, 8:26 PMrobstoll
10/21/2018, 6:52 PMw: Module "..." is defined in more than one file
. Everything runs as expected. Can I ignore this warning or should I change something?coletz
10/22/2018, 8:47 AMkotlin.NotImplementedError: An operation is not implemented: Intrinsic to be implemented in compiler
?coletz
10/22/2018, 8:47 AMkotlin.NotImplementedError: An operation is not implemented: Intrinsic to be implemented in compiler
?orangy
10/22/2018, 9:13 AMhmole
10/22/2018, 9:17 AMkotlinx.serialization
?coletz
10/22/2018, 9:22 AMsandwwraith
10/22/2018, 9:25 AM