markusa
07/08/2019, 7:18 PMNikky
07/09/2019, 9:32 AMDefaultKotlinDependencyHandler
seems to not handle things that the nromal dependencies block ca.. or maybe its just the kts bit thats broken ?kpgalligan
07/09/2019, 2:16 PMaddamsson
07/09/2019, 11:08 PMaltavir
07/10/2019, 8:09 AMMarc Knaup
07/10/2019, 9:29 PM.module
?
jvm {
attributes {
attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 7)
}
}
It does work in another multiplatform library which has multiple JVM targets.
Update: Got it.
It happens if I dare to call subprojects { apply<MavenPublishPlugin>() }
. Is that a bug in MP or Gradle?Alejandro Rios
07/11/2019, 1:26 AMKotlin Native-Multiplatform
in Medium articles and the page of raywenderlich, can you share please more resources to check?? ThanksCyrille QUÉMIN
07/11/2019, 11:12 AMSergioedcigreja
07/11/2019, 12:58 PMalex.hart
07/12/2019, 1:10 PMmarkusa
07/13/2019, 9:05 AMsourceSets {
main {
kotlin {
srcDir 'src/main/kotlin'
if(isAndroid) {
exclude '**/*Backtick*'
}
}
}
now I have
kotlin {
jvm()
jvm('android')
jvmMain {...}
jvmTest {...}
androidMain {
kotlin.srcDirs += jvmMain.kotlin.srcDirs // exclude **/*Backtick*?
}
androidTest {
kotlin.srcDirs += jvmTest.kotlin.srcDirs // exclude **/*Backtick*?
}
}
markusa
07/13/2019, 9:35 AMaltavir
07/13/2019, 3:10 PMspierce7
07/14/2019, 7:02 PMx.0
at the end when there is no decimal data.JoakimForslund
07/15/2019, 7:53 AMApplication.kt
file placed inside my package called `box`:
tasks.create("run", JavaExec::class) {
dependsOn("jvmMainClasses", "jvmJar")
main = "box.ApplicationKt"
classpath = files(
kotlin.targets["jvm"].compilations["main"].output.allOutputs.files,
configurations["jvmRuntimeClasspath"]
)
args = listOf()
}
However, this results in : Error: Could not find or load main class box.ApplicationKt
Anyone have any pointers to run a jvm target?addamsson
07/15/2019, 1:24 PMcommon
module (commonMain
) and I have my tests in commonTest
. When I run my tests with Coverage in IDEA I get No coverage results
. How can I configure IDEA to do Coverage for common
code?kpgalligan
07/15/2019, 10:02 PMNikolai
07/16/2019, 12:46 AMkotlin {
android("android")
....
}
But I don't understand what exactly it doing, what means "android" as parameter, what we have as output? And as result how common module code goes to android part?
P.S. Also, is where any place I can found docs to understand that closures have this plugin (kotlin-multiplatform), plugin tasks, what they do and how they works?ribesg
07/16/2019, 8:55 AM-android
and -android-debug
variants of my kmp libs until now because I never managed to force a kmp library B to use the kmp library A’s -android
release in its -android-debug
build. Now I’m making another lib and I feel like I should stop publishing debug builds. Anyone encounter this problem and worked around it?darkmoon_uk
07/16/2019, 8:55 AMDmitry Motyl
07/16/2019, 12:18 PM./gradlew android:build
via terminal and build
via Android Studio?
I get exception
e: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
if I build via terminal..alex.hart
07/16/2019, 4:58 PMMichał Kalinowski
07/17/2019, 7:56 PMciriti
07/18/2019, 9:52 AMrusshwolf
07/18/2019, 4:47 PMJan Stoltman
07/19/2019, 12:10 AMaltavir
07/19/2019, 7:50 AMSergioedcigreja
07/19/2019, 9:36 AMhttps://files.slack.com/files-pri/T09229ZC6-FLD9BHUTB/captura_de_ecra___2019-07-19__a__s_09.11.01.png▾
Nicholas Bilyk
07/20/2019, 2:53 PMmbonnin
07/21/2019, 12:34 PMorg.jetbrains.kotlin.multiplatform
and https://github.com/chris-hatton/kotlin-multiplatform-template/blob/master/Code/Client/Android/mobile/build.gradle.kts#L17 has kotlin-android