Kris Wong
04/25/2019, 9:18 PMKris Wong
04/25/2019, 10:01 PMd.bellingroth
04/26/2019, 7:36 AMkpgalligan
04/26/2019, 9:08 PMandrew
04/27/2019, 2:11 AMgalex
04/27/2019, 7:35 AMKonstantin Tskhovrebov
04/27/2019, 12:29 PMkotlin
apply plugin: "kotlin-multiplatform"
apply plugin: "java"
apply plugin: "com.google.protobuf"
kotlin {
targets {
fromPreset(presets.jvmWithJava, "jvm")
}
//....
}
java {
sourceSets {
main {
java.srcDirs += "build/generated/source/proto/main/javalite"
proto.srcDirs += "src/proto"
}
}
}
robstoll
04/28/2019, 4:19 PMSimon Schubert
04/29/2019, 8:06 AMfinal def iOSTarget = System.getenv('SDK_NAME')?.startsWith("iphoneos") \
? presets.iosArm64 : presets.iosX64
fromPreset(iOSTarget, 'ios') {
binaries {
framework('SharedCode')
}
}
max.denissov
04/29/2019, 11:21 AMdarkmoon_uk
04/29/2019, 12:00 PMInfo.plist
in there manually...Jan Stoltman
04/29/2019, 1:10 PMmben
04/29/2019, 1:33 PMDico
04/30/2019, 7:14 AMmben
04/30/2019, 9:31 AMPatrick Jackson
04/30/2019, 12:20 PMr4zzz4k
04/30/2019, 9:11 PMkotlin-multiplatform
doesn't support module-info.java
yet? So one is unable to use, for example, OpenJFX within multiplatform project?darkmoon_uk
05/01/2019, 2:58 AMWARNING: Ignoring dependency of module 'my-common' on module 'my-server'. Java modules cannot depend on Android modules
.
Firstly this log message seems the worded the wrong way around (it's 'my-server' depending on 'my-common'), but I'm assuming it appears because the common
module uses the Android plugin for the benefit of its Android source set.
This seems like a potential problem to me - is there no way to constrain the application of the Android (or other plugins) to only the build of a specific source-set? Otherwise I see this scheme spelling trouble for inter-module dependencies where multi-platform libraries are concerned.darkmoon_uk
05/01/2019, 9:25 AM-kotlinMultiplatform
POMs for, that I'm seeing in repo's, e.g. https://kotlin.bintray.com/ktor/io/ktor/ktor-client-websocket-kotlinMultiplatform/1.1.5/ ?basher
05/01/2019, 2:40 PMImran/Malic
05/02/2019, 7:55 AMdarkmoon_uk
05/02/2019, 8:58 AMLeoColman
05/02/2019, 4:08 PMserebit
05/02/2019, 9:05 PMlinkTestDebugExecutableLinuxX64
. I’ll post a stack trace once I get back to my computer.darkmoon_uk
05/03/2019, 8:33 AMJens Baitinger
05/03/2019, 9:12 AMCould not find method api() for arguments [project ':...', build_ckdfo2mkuty2268dk8wzojs1m$_run_closure1$_closure2$_closure4$_closure5@5af0b522] on object of type org.jetbrains.kotlin.gradle.plugin.mpp.DefaultKotlinDependencyHandler.
any clues?
kotlin {
sourceSets {
commonTest.dependencies {
api (project("…")) {
exclude group: "…", module: "…"
}
}
}
}
Rainer Schlonvoigt
05/03/2019, 11:29 AMMarc Knaup
05/03/2019, 12:32 PMribesg
05/03/2019, 1:01 PMdarkmoon_uk
05/03/2019, 1:41 PMdarkmoon_uk
05/03/2019, 1:41 PMkpgalligan
05/03/2019, 1:53 PMdarkmoon_uk
05/03/2019, 1:55 PMkpgalligan
05/03/2019, 1:56 PMjw
05/03/2019, 2:03 PMdarkmoon_uk
05/03/2019, 2:03 PMkotlin-platform-*
plugins - it's hard to find a clear answer on whether they're deprecated or not. My suspicion is that there are so many ideas in the wash with Kotlin at the moment, that they don't have a clear answer themselves and are seeing what remains useful over time.kpgalligan
05/03/2019, 2:05 PMdarkmoon_uk
05/03/2019, 2:06 PMjw
05/03/2019, 2:07 PMkpgalligan
05/03/2019, 2:22 PMian.shaun.thomas
05/03/2019, 3:08 PMalec
05/03/2019, 11:38 PMdarkmoon_uk
05/05/2019, 10:58 PMxcode-compat
are for multiplatform
, and there is no kotlin-platform-ios
or kotlin-platform-native
etc. making iOS setup, in particular, more difficult and unsupported without multiplatform
.java
and android
plugins remains a horrible limiting factor of the Platform per Source Set model - meaning it's currently impossible to use expect/actual between Android and Java targets defined in the same module.ian.shaun.thomas
05/05/2019, 11:00 PMdarkmoon_uk
05/05/2019, 11:03 PMexpect/actual
definitions. That's now limited to just having a jvm
target covering both Desktop and Android.ian.shaun.thomas
05/05/2019, 11:29 PM