CLOVIS
05/28/2019, 4:02 AMDmitry Motyl
05/28/2019, 11:11 AMno such module 'shared'
- error
I created a separate framework-target and just run gradlew buildForXcode
script.
Do I need to execute some additional actions ?Andy Victors
05/29/2019, 11:14 AMimport io.ktor.client.features.logging.DEFAULT
import io.ktor.client.features.logging.LogLevel.HEADERS
import io.ktor.client.features.logging.Logger
import io.ktor.client.features.logging.Logging
The Ktor itself is found an compiled. MPP sourceSets include implementation "io.ktor:ktor-client-logging:$ktor_version"
. Invalidate Cache does not help. I'm on latest kotlin/ktor versions. Any ideas?basher
05/29/2019, 6:55 PMgildor
05/30/2019, 9:36 AMMarc Knaup
05/31/2019, 4:53 PMobjcMain <- iosArm64Main
<- iosX64Main
<- macosX64Main
IntelliJ can't even resolve platform.darwin.*
.
Gradle builds work fine though.
How can I have shared code for all objc-based platforms with dependencies intact in IntelliJ?
EDIT: As a workaround I'll use the shared source set objcMain
only for managing dependencies and without source files and instead symlink each platform-specific sources folder to the shared sources folder.Rohan Maity
06/01/2019, 7:56 AMplugins {
id("com.android.library")
id("org.jetbrains.kotlin.multiplatform").version("1.3.31")
}
android { /* ... */ }
kotlin {
android { // Create the Android target
// Provide additional configuration if necessary
}
}
. But following this I get CONFIGURE FAILED in 0s
Plugin [id: 'com.android.library'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (plugin dependency must include a version number for this source)
I am unable to apply android closureRohan Maity
06/01/2019, 9:49 AMrusshwolf
06/02/2019, 3:29 PMString.format()
?Dmitry Motyl
06/03/2019, 10:00 AMAndrey Makovskiy
06/03/2019, 5:43 PMivan.savytskyi
06/03/2019, 8:42 PMRohan Maity
06/05/2019, 3:44 AMRohan Maity
06/05/2019, 11:39 AMSDK location not found . Setup sdk location by ANDROID_SDK_ROOT environment variable.
I did setup environment variable still no build . here the travis.yml
matrix:
include:
- language: java
os: linux
jdk: oraclejdk8
script:
- ./gradlew build
env:
global:
ANDROID_SDK_ROOT=/usr/local/android-sdk
Tobi
06/05/2019, 4:01 PMjava.lang.ClassNotFoundException
while running a JUnit test for the class that collaborates with our library.
This is just a problem while running JUnit tests, using the library while running the app works fine 🤔
Any idea?Rohan Maity
06/05/2019, 4:56 PMtask sourcesJar(type: Jar) {
from kotlin.sourceSets.jvmMain.allJava
archiveClassifier = 'sources'
}
I tried this following original java projects. but this didn't workAndrey Makovskiy
06/06/2019, 8:36 AMKruger Brent
06/06/2019, 2:08 PMMarc Knaup
06/06/2019, 2:51 PMwebsiteUrl
in Kotlin and websiteURL
in ObjC/Swift 🙂Kruger Brent
06/06/2019, 4:38 PMKruger Brent
06/06/2019, 7:31 PMDico
06/06/2019, 11:52 PMjvmJar
jvmMain
but you get jar
and main
max.denissov
06/07/2019, 7:33 AMjimn
06/07/2019, 7:00 PMcapitalthree
06/08/2019, 11:51 AMegorand
06/09/2019, 2:05 AMextendsFrom
value to the custom configuration, but it didn’t seem to work for implementation
or compile
kpgalligan
06/09/2019, 9:26 PMRohan Maity
06/10/2019, 11:10 AM.klib
file on bintray .
I am try to use that library in Kotlin/Native Linux application,
I have added dependency Under target linuxX64{}
closure
dependencies {
linuxImplementation 'io.kaen.dagger:KParser-linux:0.0.4'
}
But it throws the exception for building
Could not find "/home/kaendagger/.gradle/caches/modules-2/files-2.1/io.kaen.dagger/KParser-linux/0.0.4/5994e54132b46843da097a56347c8c8a3a7e44a9/KParser-linux-0.0.4.klib" in [/home/kaendagger/IdeaProjects/KparserExecTest, /home/kaendagger/.konan/klib, /home/kaendagger/.konan/kotlin-native-linux-1.1.2/klib/common, /home/kaendagger/.konan/kotlin-native-linux-1.1.2/klib/platform/linux_x64].
Do I have to manually download klib file and include it ?ivan.savytskyi
06/10/2019, 7:02 PMUndefined symbols for architecture x86_64:
"_OBJC_CLASS_$_UIDevice", referenced from:
objc-class-ref in combined.o
This happens when there is ref to UIImage class actual typealias Bitmap = platform.UIKit.UIImage
Marc Knaup
06/10/2019, 10:06 PMMarc Knaup
06/10/2019, 10:06 PMKris Wong
06/10/2019, 10:20 PMsvyatoslav.scherbina
06/11/2019, 7:55 AM