ankushg
09/20/2018, 9:39 PMalec
09/20/2018, 9:41 PMalec
09/20/2018, 9:41 PMfabianterhorst
09/21/2018, 11:28 AMCould not resolve all files for configuration ':common:iosArm64CompileKlibraries
Could not resolve org.jetbrains.kotlinx:kotlinx-serialization-runtime-native:0.8.0-rc13.
Required by:
project :common
> Unable to find a matching configuration of org.jetbrains.kotlinx:kotlinx-serialization-runtime-native:0.8.0-rc13:
Configuration 'debugIos_arm64Link':
- Found org.gradle.native.debuggable 'true' but wasn't required.
.
hmole
09/23/2018, 8:00 AMLibrary not loaded: @rpath/MyFramework.framework/MyFramework
Nvm it's working. Just don't use tests and add the framework through Embedded binaries
if anyone across this issueankushg
09/25/2018, 2:04 AM./gradlew tasks
...ankushg
09/25/2018, 2:12 AM./gradlew jsTest
doesn't actually run any tests for JS. It looks like it spits out a file into build/classes/kotlin/js/test/lib-with-tests_test.js
, but the report in build/reports/tests/jsTest/index.html
says 0 tests run. Is there a working sample with the new MPP plugin where the JS tests are set up to actually run?hmole
09/25/2018, 6:40 PMkotlin-multipplatform
module?rudolf.hladik
09/26/2018, 7:58 AMthevery
09/26/2018, 4:56 PMkpgalligan
09/27/2018, 6:43 PMr4zzz4k
09/28/2018, 5:29 PMruntimeClasspath
configurations for JVM targets doesn't contain actual compilation output, only dependencies?
The only way I was able to use application
plugin is as follows:
tasks.findByName("run").configure {
classpath = kotlin.targets.jvm.compilations.main.output + project.configurations.jvmRuntimeClasspath
}
(jvm
target is, of course, created like this: fromPreset(presets.jvm, 'jvm')
)jw
09/28/2018, 9:03 PMhmole
09/29/2018, 10:55 AMnativeCommonMain
source set isn't resolving imports from stdlib-native. Only specific targets like iosX64/iosArm64 work.
Idea 2018.2.4
Kotlin 1.3.0-rc-116
fabianterhorst
09/29/2018, 4:23 PMfelipecsl
09/29/2018, 5:21 PMkotlin-platform-common
thevery
10/01/2018, 12:48 PMiosArm64
and iosArm32
in one config? Or probably even all 3 with iosX64.Jaroslav
10/02/2018, 7:50 AMactual
object it complains that there is no expected part found. Android part works fineHamza
10/04/2018, 11:22 AMhallvard
10/06/2018, 2:43 PMentries()
, keys()
, size()
, containsKey()
etc or 2) remove class inheritance and reduce the map to a backing field. Or did I miss something? (Hoping so. Would like to change as little as possible.)Sam
10/06/2018, 9:25 PMtargets {
fromPreset(presets.iosX64, 'ios') {
compilations.main.outputKinds('FRAMEWORK')
}
fromPreset(presets.android, 'android')
fromPreset(presets.jvm, 'jvm')
}
Slackbot
10/07/2018, 3:26 AMhallvard
10/07/2018, 3:35 PMassertThrows
in my tests, and this causes a jvm1.6/jvm1.8 clash/mismatch ...spierce7
10/08/2018, 4:14 PMconfigure(targets.iosSim) {
compilations.main.source(sourceSets.iosMain)
}
Is there any way around this?hmole
10/09/2018, 9:18 AMkapt
on android(main
) sources of multiplatform project? I can't apply kotlin-android
, because it says kotlin
extensions is already added, but without it there is no kapt
configuration.salomonbrys
10/09/2018, 9:47 AMhallvard
10/09/2018, 1:36 PMexpect
only two methods out of fourteen in a class? Seems I must `expect`the whole class, and I cannot then have actual
implementations inside the same code, but need to implement all fourteen functions as actual
functions in my JS and JVM specific packages. (I tried using extension functions, but Java doesn't recognize those, so to no avail. Another solution is to have the two functions call some other function that could be marked with expect
and that one could live outside of the class. But what I really would like the most, and find most intuitive, is being able to `expect`only some of the functions in a class, just like we do with abstract classes.kpgalligan
10/09/2018, 4:20 PMtapchicoma
10/09/2018, 7:56 PMankushg
10/10/2018, 3:15 AM1.3.0-rc-146
, running jvmTest
(using kotlin-test
and kotlin-test-junit
) doesn't actually output anything to the CLI or IDE indicating how many/which tests passed/failed.
I just get messages like or > Task :pinyin-converter:jvmTest FAILED
or > Task :pinyin-converter:jvmTest
, followed by Task execution finished 'jvmTest'.
.
The task does spit out a more detailed test report in build/reports/tests/jvmTest/index.html
.
Is this lack of IDE or CLI output normal? Is there an example project that's configured to provide more detailed test results in the IDE and/or CLI?