nestserau
11/13/2018, 2:24 PMkotlin-stdlib/kotlin.native/toUtf8
should be available on String in my multiplatform project. But I cannot invoke it. Intellisense doesn’t see that method. What am I doing wrong?GarouDan
11/13/2018, 7:22 PMcommonMain,
commonTest,
jvmMain,
jvmTest,
jsMain,
jsTest
to
main,
test,
jvmMain,
jvmTest,
jsMain,
jsTest
GarouDan
11/13/2018, 8:51 PMGarouDan
11/14/2018, 1:57 AMaddamsson
11/14/2018, 8:27 AMpatjackson52
11/14/2018, 10:12 PMegorand
11/14/2018, 10:53 PMcom.moowork.node
plugin and a bunch of custom tasks and struggling to wrap my head around itHamza
11/15/2018, 3:43 AMbkenn
11/15/2018, 5:52 AMEugenio
11/15/2018, 3:36 PM1.3.10
?
I'm getting this:
(if it makes any difference, I'm using the Gradle Kotlin DSL)
> Task :common:compileKotlinCommon FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':common:compileKotlinCommon'.
> Could not resolve all files for configuration ':common:compileClasspath'.
> Could not resolve org.jetbrains.kotlin:kotlin-stdlib-common:1.3.10.
Required by:
project :common
> Cannot choose between the following variants of org.jetbrains.kotlin:kotlin-stdlib-common:1.3.10:
- compile
- enforced-platform-compile
- enforced-platform-runtime
- platform-compile
- platform-runtime
- runtime
All of them match the consumer attributes:
- Variant 'compile':
- Found org.gradle.component.category 'library' but wasn't required.
- Found org.gradle.status 'release' but wasn't required.
- Required org.gradle.usage 'kotlin-api' and found compatible value 'java-api'.
- Required org.jetbrains.kotlin.platform.type 'common' but no value provided.
- Variant 'enforced-platform-compile':
- Found org.gradle.component.category 'enforced-platform' but wasn't required.
- Found org.gradle.status 'release' but wasn't required.
- Required org.gradle.usage 'kotlin-api' and found compatible value 'java-api'.
- Required org.jetbrains.kotlin.platform.type 'common' but no value provided.
- Variant 'enforced-platform-runtime':
- Found org.gradle.component.category 'enforced-platform' but wasn't required.
- Found org.gradle.status 'release' but wasn't required.
- Required org.gradle.usage 'kotlin-api' and found compatible value 'java-runtime'.
- Required org.jetbrains.kotlin.platform.type 'common' but no value provided.
- Variant 'platform-compile':
- Found org.gradle.component.category 'platform' but wasn't required.
- Found org.gradle.status 'release' but wasn't required.
- Required org.gradle.usage 'kotlin-api' and found compatible value 'java-api'.
- Required org.jetbrains.kotlin.platform.type 'common' but no value provided.
- Variant 'platform-runtime':
- Found org.gradle.component.category 'platform' but wasn't required.
- Found org.gradle.status 'release' but wasn't required.
- Required org.gradle.usage 'kotlin-api' and found compatible value 'java-runtime'.
- Required org.jetbrains.kotlin.platform.type 'common' but no value provided.
- Variant 'runtime':
- Found org.gradle.component.category 'library' but wasn't required.
- Found org.gradle.status 'release' but wasn't required.
- Required org.gradle.usage 'kotlin-api' and found compatible value 'java-runtime'.
- Required org.jetbrains.kotlin.platform.type 'common' but no value provided.
kpgalligan
11/15/2018, 5:01 PMDico
11/15/2018, 8:53 PMlinkerOpts
from its configuration are not included when the target for project A is linked.addamsson
11/17/2018, 2:00 PM@JvmSynthetic
which can be used to hide things from the Java API and the internal
which can be used to hide things from the Kotlin API.
My goal is to have idiomatic APIs for both Kotlin and Java usersbdeg
11/17/2018, 5:20 PMkyonifer
11/18/2018, 7:40 PMcompilationName
and name
are read-only. I'm trying to change the default name of the project that gets used throughout the generated .h
file, but changing the project name to something else will affect the other platforms as wellldavin
11/19/2018, 9:15 AMhiperbou
11/20/2018, 2:59 PMKaden Wilkinson
11/20/2018, 7:14 PMserebit
11/20/2018, 7:16 PMpajatopmr
11/21/2018, 2:23 AMAna Stu
11/21/2018, 10:33 AMIvan
11/21/2018, 11:40 AMehubbard
11/21/2018, 6:19 PMldavin
11/22/2018, 10:07 AMThrows
annotation that’ll work on a native (ios) target ? I’m thinking of something like org.jetbrains.kotlin:kotlin-stdlib-native
alex.hart
11/23/2018, 1:24 PMjosephivie
11/23/2018, 3:58 PMgabin
11/23/2018, 8:22 PMgabin
11/24/2018, 2:58 PMaddamsson
11/24/2018, 7:06 PMCompilation is not supported for following modules: zircon.core_commonMain, zircon.core_commonTest, zircon.core_jvmMain, zircon.core_jvmTest. Unfortunately you can't have non-Gradle Java modules and Android-Gradle modules in one project.
what could be the problem? Gradle build runs fine, the application works, and it worked in the previous IDEA version as well. What do I need to upgrade to get this fixed? I'm not even using Android (have nothing Android-related on my computer).
What's really weird is that I have neither non-Gradle Java modules nor Android-Gradle modules!robstoll
11/24/2018, 8:34 PMexpect
is the same in jvm and android. Is there a way to share the common code only for certain platforms?robstoll
11/24/2018, 8:34 PMexpect
is the same in jvm and android. Is there a way to share the common code only for certain platforms?Liliia
11/26/2018, 11:49 AM