https://kotlinlang.org logo
Join the conversationJoin Slack
Channels
100daysofcode
100daysofkotlin
100daysofkotlin-2021
advent-of-code
aem
ai
alexa
algeria
algolialibraries
amsterdam
android
android-architecture
android-databinding
android-studio
androidgithubprojects
androidthings
androidx
androidx-xprocessing
anime
anko
announcements
apollo-kotlin
appintro
arabic
argentina
arkenv
arksemdevteam
armenia
arrow
arrow-contributors
arrow-meta
ass
atlanta
atm17
atrium
austin
australia
austria
awesome-kotlin
ballast
bangladesh
barcelona
bayarea
bazel
beepiz-libraries
belgium
berlin
big-data
books
boston
brazil
brikk
budapest
build
build-tools
bulgaria
bydgoszcz
cambodia
canada
carrat
carrat-dev
carrat-feed
chicago
chile
china
chucker
cincinnati-user-group
cli
clikt
cloudfoundry
cn
cobalt
code-coverage
codeforces
codemash-precompiler
codereview
codingame
codingconventions
coimbatore
collaborations
colombia
colorado
communities
competitive-programming
competitivecoding
compiler
compose
compose-android
compose-desktop
compose-hiring
compose-ios
compose-mp
compose-ui-showcase
compose-wear
compose-web
connect-audit-events
corda
cork
coroutines
couchbase
coursera
croatia
cryptography
cscenter-course-2016
cucumber-bdd
cyprus
czech
dagger
data2viz
databinding
datascience
dckotlin
debugging
decompose
decouple
denmark
deprecated
detekt
detekt-hint
dev-core
dfw
docs-revamped
dokka
domain-driven-design
doodle
dsl
dublin
dutch
eap
eclipse
ecuador
edinburgh
education
effective-kotlin
effectivekotlin
emacs
embedded-kotlin
estatik
event21-community-content
events
exposed
failgood
fb-internal-demo
feed
firebase
flow
fluid-libraries
forkhandles
forum
fosdem
fp-in-kotlin
framework-elide
freenode
french
fritz2
fuchsia
functional
funktionale
gamedev
ge-kotlin
general-advice
georgia
geospatial
german-lang
getting-started
github-workflows-kt
glance
godot-kotlin
google-io
gradle
graphic
graphkool
graphql
graphql-kotlin
graviton-browser
greece
grpc
gsoc
gui
hackathons
hacktoberfest
hamburg
hamkrest
helios
helsinki
hexagon
hibernate
hikari-cp
hire-me
hiring
hongkong
hoplite
http4k
hungary
hyderabad
image-processing
india
indonesia
inkremental
intellij
intellij-plugins
intellij-tricks
internships
introduce-yourself
io
ios
iran
israel
istanbulcoders
italian
jackson-kotlin
jadx
japanese
jasync-sql
java-to-kotlin-refactoring
javadevelopers
javafx
javalin
javascript
jdbi
jhipster-kotlin
jobsworldwide
jpa
jshdq
juul-libraries
jvm-ir-backend-feedback
jxadapter
k2-early-adopters
kaal
kafka
kakao
kalasim
kapt
karachi
karg
karlsruhe
kash_shell
kaskade
kbuild
kdbc
kgen-doc-tools
kgraphql
kinta
klaxon
klock
kloudformation
kmdc
kmm-español
kmongo
knbt
knote
koalaql
koans
kobalt
kobweb
kodein
kodex
kohesive
koin
koin-dev
komapper
kondor-json
kong
kontent
kontributors
korau
korean
korge
korim
korio
korlibs
korte
kotest
kotest-contributors
kotless
kotlick
kotlin-asia
kotlin-beam
kotlin-by-example
kotlin-csv
kotlin-data-storage
kotlin-foundation
kotlin-fuel
kotlin-in-action
kotlin-inject
kotlin-latam
kotlin-logging
kotlin-multiplatform-contest
kotlin-mumbai
kotlin-native
kotlin-pakistan
kotlin-plugin
kotlin-pune
kotlin-roadmap
kotlin-samples
kotlin-sap
kotlin-serbia
kotlin-spark
kotlin-szeged
kotlin-website
kotlinacademy
kotlinbot
kotlinconf
kotlindl
kotlinforbeginners
kotlingforbeginners
kotlinlondon
kotlinmad
kotlinprogrammers
kotlinsu
kotlintest
kotlintest-devs
kotlintlv
kotlinultimatechallenge
kotlinx-datetime
kotlinx-files
kotlinx-html
kotrix
kotson
kovenant
kprompt
kraph
krawler
kroto-plus
ksp
ktcc
ktfmt
ktlint
ktor
ktp
kubed
kug-leads
kug-torino
kvision
kweb
lambdaworld_cadiz
lanark
language-evolution
language-proposals
latvia
leakcanary
leedskotlinusergroup
lets-have-fun
libgdx
libkgd
library-development
linkeddata
lithuania
london
losangeles
lottie
love
lychee
macedonia
machinelearningbawas
madrid
malaysia
mathematics
meetkotlin
memes
meta
metro-detroit
mexico
miami
micronaut
minnesota
minutest
mirror
mockk
moko
moldova
monsterpuzzle
montreal
moonbean
morocco
motionlayout
mpapt
mu
multiplatform
mumbai
munich
mvikotlin
mvrx
myndocs-oauth2-server
naming
navigation-architecture-component
nepal
new-mexico
new-zealand
newname
nigeria
nodejs
norway
npm-publish
nyc
oceania
ohio-kotlin-users
oldenburg
oolong
opensource
orbit-mvi
osgi
otpisani
package-search
pakistan
panamá
pattern-matching
pbandk
pdx
peru
philippines
phoenix
pinoy
pocketgitclient
polish
popkorn
portugal
practical-functional-programming
proguard
prozis-android-backup
pyhsikal
python
python-contributors
quasar
random
re
react
reaktive
realm
realworldkotlin
reductor
reduks
redux
redux-kotlin
refactoring-to-kotlin
reflect
refreshversions
reports
result
rethink
revolver
rhein-main
rocksdb
romania
room
rpi-pico
rsocket
russian
russian_feed
russian-kotlinasfirst
rx
rxjava
san-diego
science
scotland
scrcast
scrimage
script
scripting
seattle
serialization
server
sg-user-group
singapore
skia-wasm-interop-temp
skrape-it
slovak
snake
sofl-user-group
southafrica
spacemacs
spain
spanish
speaking
spek
spin
splitties
spotify-mobius
spring
spring-security
squarelibraries
stackoverflow
stacks
stayhungrystayfoolish
stdlib
stlouis
strife-discord-lib
strikt
students
stuttgart
sudan
swagger-gradle-codegen
swarm
sweden
swing
swiss-user-group
switzerland
talking-kotlin
tallinn
tampa
teamcity
tegal
tempe
tensorflow
terminal
test
testing
testtestest
texas
tgbotapi
thailand
tornadofx
touchlab-tools
training
tricity-kotlin-user-group
trójmiasto
truth
tunisia
turkey
turkiye
twitter-feed
uae
udacityindia
uk
ukrainian
uniflow
unkonf
uruguay
utah
uuid
vancouver
vankotlin
vertx
videos
vienna
vietnam
vim
vkug
vuejs
web-mpp
webassembly
webrtc
wimix_sentry
wwdc
zircon
Powered by Linen
multiplatform
  • a

    aleksey.tomin

    08/31/2020, 1:15 PM
    MPP hierarchical struct works fine, but in IDEA (with the last version of plugin) I have a lot of error for
    desktopMain
    source code - packages
    kotlin.native.concurrent
    and
    posix
    marked as error (
    gradle build
    is ok). will it be fixed?
    b
    • 2
    • 2
  • d

    dazza5000

    08/31/2020, 2:34 PM
    When I try to click the link that is referenced here, it asks me to login with a jetbrains account https://play.kotlinlang.org/hands-on/Targeting%20iOS%20and%20Android%20with%20Kotlin%20Multiplatform/01_Introduction
    s
    e
    • 3
    • 3
  • s

    saket

    08/31/2020, 4:49 PM
    I’m a bit sad that Kotlin Multiplatform Mobile plugin isn’t compatible with IntelliJ IDEA
    ➕ 6
    k
    • 2
    • 5
  • j

    John O'Reilly

    08/31/2020, 4:51 PM
    Is anyone using AS 4.2 canary able to install that plugin....seems to be only available in stable version?
    r
    j
    +4
    • 7
    • 20
  • j

    Jurriaan Mous

    08/31/2020, 4:57 PM
    What are the main differences with KMM plugin and built in IDEA functionality? The templates and native debugging plugins are I guess there already. I think I see a bit more integrated experience so you need XCode less?
    m
    d
    • 3
    • 5
  • s

    serebit

    08/31/2020, 5:04 PM
    And so it begins... The slow conversion of Kotlin multiplatform to a primarily mobile framework rather than a tool for both embedded applications and mobile. 😔
    a
    d
    • 3
    • 5
  • k

    Kris Wong

    08/31/2020, 5:12 PM
    You no longer need to switch IDEs and have Xcode running to check that your code works correctly on both mobile platforms. With the new plugin, you get integration with your iOS device and simulator directly in Android Studio. This gives you the following capabilities: • Run and debug the iOS application on the simulator or a device with the predefined run configuration. • Run and debug common and iOS specific tests on the iOS simulator by simply clicking the gutter icon on a test class or method. For both the application and tests you can set breakpoints and debug your code on iOS.
    👍 3
    • 1
    • 1
  • s

    Skolson5903

    08/31/2020, 5:44 PM
    I'm using kotlin 1.4.0 and a multiplatform project using cinterop. Given an example target specified like this:
    mingwX64 {
            compilations.getByName("main") {
                val myInterop by cinterops.creating {
                    defFile("some.def")
                    packageName("com.whatever")
                    compilerOpts("-I$someIncludePath")
                    //... whatever else ...
                }
            }
        }
    and a nativeMain sourceset that needs to depend on the output from the mingw64 main compilation cinterop library it generates, what's the best way to specify that dependency? The sourceset name for the above compilation is "mingwX64Main", so I tried this:
    val mingwX64Main by getting
            val nativeMain by getting {
                dependsOn(mingwX64Main)
            }
    but no luck. There's no explicit source in that sourceset, just the generated external library from cinterop, which dependsOn doesn't see. The only way I've gotten nativeMain source to see the stuff generated by cinterop is by adding this to the compilation:
    defaultSourceSet {
                   kotlin.srcDir("src/nativeMain/kotlin")
                }
    which points the mingwX64Main sourceset to the same source directory as nativeMain. This allows imports etc to work in nativeMain source. But it seems kludgy as it gets a gradle warning on every sync:
    Duplicate content roots detected: (text about nativeMain and mingwX64Main sourcesets overlapping)
    Seems like there should be a dependsOn or a dependencies clause to explicitly declare this. Anybody got suggestions? Something like:
    val nativeMain by getting {
                dependencies {
                    implementation(<ref to the cinterop library produced from compilation mingwX64 main, sourceset mingwX64Main>)
                }
            }
    Or any other way that doesn't get warnings on every sync :-) Thanks in advance for any help...
    k
    • 2
    • 7
  • d

    dazza5000

    08/31/2020, 7:35 PM
    did you import kafka?
    p
    • 2
    • 4
  • e

    Evan

    08/31/2020, 9:06 PM
    Hey I have a KMP project that has android and iOS targets. I’m trying to implement an iOS specific ViewModel (i.e. an
    actual
    implementation for iOS) that launches operations on coroutine contexts, but IntelliJ CE isn’t importing dependencies correctly. The code compiles and runs fine, but the editor can’t find kotlinx or any darwin packages. Anyone else run into this issue?
    d
    i
    • 3
    • 4
  • d

    Daniele B

    09/01/2020, 12:42 AM
    👍 8
    t
    d
    j
    • 4
    • 6
  • d

    darkmoon_uk

    09/01/2020, 12:54 AM
    One thing I don't get about the way people seem to be working with KMP on iOS in particular... is why still use Swift at all? Not saying there's anything wrong with the language or interop by themselves; but in my brief explorations with Kotlin on iOS; I was happily able to write everything in Kotlin from the MainKt up... isn't this preferable in the eye of consistency?
    d
    • 2
    • 2
  • d

    darkmoon_uk

    09/01/2020, 1:15 AM
    I haven't tried that approach with SwiftUI admittedly. I imagine it would work as well, minus the 'fast feedback' in Xcode ofc - that's probably reason enough to use Swift, actually.
    d
    • 2
    • 13
  • n

    nrobi

    09/01/2020, 8:49 AM
    Anyone getting
    InvalidMutabilityException
    with
    ktor 1.4.0
    and `coroutines
    1.3.9-native-mt`?
    j
    • 2
    • 3
  • j

    jean

    09/01/2020, 2:08 PM
    I’m using this task in my shared module to generate the ios framework :
    val packForXcode by tasks.creating(Sync::class) {
        val targetDir = File(buildDir, "xcode-frameworks")
    
        /// selecting the right configuration for the iOS
        /// framework depending on the environment
        /// variables set by Xcode build
        val mode = System.getenv("CONFIGURATION") ?: "DEBUG"
        val framework = kotlin.targets
            .getByName<KotlinNativeTarget>("ios")
            .binaries.getFramework(mode)
        inputs.property("mode", mode)
        dependsOn(framework.linkTask)
    
        from({ framework.outputDirectory })
        into(targetDir)
    
        /// generate a helpful ./gradlew wrapper with embedded Java path
        doLast {
            val gradlew = File(targetDir, "gradlew")
            gradlew.writeText(
                "#!/bin/bash\n"
                        + "export 'JAVA_HOME=${System.getProperty("java.home")}'\n"
                        + "cd '${rootProject.rootDir}'\n"
                        + "./gradlew \$@\n"
            )
            gradlew.setExecutable(true)
        }
    }
    Which seems to work, I can find it under
    build > bin > ios > debugFramework > SharedCode.framework
    I then go over to xcode
    Target > Frameworks, Libraries, and Embedded Content > + > Add files (inside the drop box)
    then I navigate to
    SharedCode.framework
    and select it. Xcode does not complain but when I try to build my project I get
    Framework not found SharedCode
    How am I suppose to add it ?
    m
    d
    • 3
    • 8
  • j

    John O'Reilly

    09/01/2020, 2:41 PM
    A number of folks are having issues opening PeopleInSpace project in Android Studio on linux....anyone else come across this or know what cause might be? https://github.com/joreilly/PeopleInSpace/issues/8
    a
    s
    i
    • 4
    • 16
  • j

    jean

    09/01/2020, 3:23 PM
    I have this data class in my shared module
    import kotlinx.serialization.Serializable
    
    @Serializable
    data class News(
        val type: String,
        val title: String,
        val image: String,
        val link: String,
        val date: String
    )
    From Xcode, I see it like this after importing the framework
    __attribute__((objc_subclassing_restricted))
    __attribute__((swift_name("News")))
    @interface SharedCodeNews : SharedCodeBase
    - (instancetype)initWithType:(NSString *)type title:(NSString *)title image:(NSString *)image link:(NSString *)link date:(NSString *)date __attribute__((swift_name("init(type:title:image:link:date:)"))) __attribute__((objc_designated_initializer));
    - (NSString *)component1 __attribute__((swift_name("component1()")));
    - (NSString *)component2 __attribute__((swift_name("component2()")));
    - (NSString *)component3 __attribute__((swift_name("component3()")));
    - (NSString *)component4 __attribute__((swift_name("component4()")));
    - (NSString *)component5 __attribute__((swift_name("component5()")));
    - (SharedCodeNews *)doCopyType:(NSString *)type title:(NSString *)title image:(NSString *)image link:(NSString *)link date:(NSString *)date __attribute__((swift_name("doCopy(type:title:image:link:date:)")));
    - (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
    - (NSUInteger)hash __attribute__((swift_name("hash()")));
    - (NSString *)description __attribute__((swift_name("description()")));
    @property (readonly) NSString *date __attribute__((swift_name("date")));
    @property (readonly) NSString *image __attribute__((swift_name("image")));
    @property (readonly) NSString *link __attribute__((swift_name("link")));
    @property (readonly) NSString *title __attribute__((swift_name("title")));
    @property (readonly) NSString *type __attribute__((swift_name("type")));
    @end;
    I try to instantiate it from swift
    var news = News()
    but I get the error
    init() is not available
    and if I start to add arguments like
    News(type: "a type")
    then I get
    argument passed to call that takes no arguments
    • 1
    • 1
  • h

    Hannes

    09/01/2020, 3:29 PM
    gradle config:
    kotlin {
        jvm()
        iosArm32()
        iosArm64()
        iosX64()
        linuxX64()
        macosX64()
        mingwX64()
        tvosArm64()
        tvosX64()
        watchosArm32()
        watchosArm64()
        watchosX86()
    
        sourceSets {
            commonMain {
                dependencies {
                    api 'org.jetbrains.kotlin:kotlin-stdlib-common'
                    api libraries.coroutines
                }
            }
    
            commonTest {
                dependencies {
                    implementation 'org.jetbrains.kotlin:kotlin-test-multiplatform'
                    implementation 'app.cash.turbine:turbine:0.2.1'
                }
            }
    
            jvmTest {
                dependsOn commonMain
                dependencies {
                    implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
                    implementation testLibraries.junit
                    implementation testLibraries.coroutinesTest
                }
            }
    
            nativeMain {
            }
            nativeTest {
            }
    
            configure([
                    targets.iosArm32,
                    targets.iosArm64,
                    targets.iosX64,
                    targets.linuxX64,
                    targets.macosX64,
                    targets.mingwX64,
                    targets.tvosArm64,
                    targets.tvosX64,
                    targets.watchosArm32,
                    targets.watchosArm64,
                    targets.watchosX86,
            ]) {
                compilations.main.source(sourceSets.nativeMain)
                compilations.test.source(sourceSets.nativeTest)
            }
        }
    }
    r
    • 2
    • 4
  • a

    Alberto

    09/01/2020, 4:04 PM
    maybe this was asked earlier, but what's the difference between the latest KMM release and the previous KMP releases? If one is already integrated with Kotlin Multiplatform on Android/iOS would have to migrate to the new KMM? Or is KMM mostly providing only the Android Studio plugins?
    k
    k
    • 3
    • 9
  • a

    Artem Kopan

    09/01/2020, 4:45 PM
    Hi everyone, I’m trying to use ios() target instead of iosX64+ iosArm64, but I got exception “platform” not resolved. I guess it’s bug in studio or kotlin plugin, because build is successful. I use android studio 4.1 rc2
    e
    a
    • 3
    • 4
  • k

    kelvinharron

    09/01/2020, 7:00 PM
    Is it expected behaviour for the default commonTest configuration to use the
    cleanIosX64Test iosX64Test
    tasks? Both my own project and the
    kmm-sample-master
    use these tasks. The feedback from evaluating expressions isn’t as reliable when debugging as a result.
    k
    r
    • 3
    • 5
  • d

    Dave Leeds

    09/01/2020, 7:48 PM
    Hey all, with the new KMM plugin loaded into Android Studio 4.1 RC-2, I generated a project using the wizard, and ended up with this:
    A problem was found with the configuration of task ':shared:runCommonizer' (type 'CommonizerTask').
    > Directory '/Users/dave.leeds/.konan/kotlin-native-prebuilt-macos-1.4/klib/common' specified for property 'params.originalCommonLibsDir' does not exist.
    Any ideas what I might have done wrong?
    l
    k
    • 3
    • 6
  • k

    Kris Wong

    09/01/2020, 9:57 PM
    well damn. apparently the cocoapods plugin now needs to be able to find the pods when building, and it doesn't seem to support self-hosted pod repos
    🎫 1
    • 1
    • 1
  • x

    xxfast

    09/02/2020, 1:55 AM
    Hi all, giving the KMM plugin a try, but the default iosApp config not seems to be working. Do I need to set this up with xcode? 🤔
    Error: Please check specified Xcode project file: can't grab Xcode schemes with /usr/bin/xcodebuild -project /Users/xxfast/Developer/KMM/OpenWeather/./iosApp/iosApp.xcodeproj -list
    👀 1
    ➕ 3
    k
    n
    k
    • 4
    • 9
  • k

    Kris Wong

    09/02/2020, 2:13 PM
    this is with kotlin 1.4 and
    enableGranularSourceSetsMetadata
    set to true
    s
    l
    • 3
    • 11
  • z

    zsperske

    09/02/2020, 6:04 PM
    Has anyone successfully run an Android Instrumented Test from their
    androidTest
    source set? I'm trying to write UI tests in
    commonTest
    that will run on android/iOS
    e
    • 2
    • 21
  • d

    Derek Ellis

    09/02/2020, 9:59 PM
    Does the new cocoapods plugin support hierarchical project structures for ios targets? The samples (https://github.com/Kotlin/kotlin-with-cocoapods-sample) declare the iOS target using
    ios()
    but then use symlinks between the x86 and arm source sets. I can't seem to get any cocoapods imports to work in the shared iOS sourceset.
    t
    • 2
    • 5
  • n

    nrobi

    09/03/2020, 9:26 AM
    One of the issues we’re facing when migrating to KMP is that we have *VM*s loaded with :android: resource ids. While making a Resource abstraction seems okay at first, using
    ApplicationContext
    won’t work with all kinds of resources, while view specific
    context
    would probably cause leaks. How are you guys approaching this?
    j
    a
    +2
    • 5
    • 16
  • r

    Robert

    09/03/2020, 3:45 PM
    I tried installing KMM. So that is, installed android studio, installed kotlin plugin 1.4.0(+). Have (open)jdk installed. Installed the plugin for KMM in android studio (and active). Even rebooted. But there 's no option for KMM under "new project"....
    ✔️ 2
    k
    r
    +3
    • 6
    • 14
  • i

    Ivann Ruiz

    09/03/2020, 6:18 PM
    Suggestions for logging in KMM apps? mostly interested in Android/iOS
    c
    k
    • 3
    • 13
Powered by Linen
Title
i

Ivann Ruiz

09/03/2020, 6:18 PM
Suggestions for logging in KMM apps? mostly interested in Android/iOS
c

Casey Brooks

09/03/2020, 6:20 PM
I’ve just pushed Clog to Bintray. Designed to work out-of-the-box with no config required https://github.com/copper-leaf/clog
💯 1
i

Ivann Ruiz

09/03/2020, 6:21 PM
Great, will check it out!
k

Konstantin Tskhovrebov

09/03/2020, 7:05 PM
I use https://github.com/AAkira/Napier in mi pet projects
👍 1
i

Ivann Ruiz

09/09/2020, 5:19 PM
@Casey Brooks Hey i'm trying to use Clog but gradle can't seem to find the dependency on bintray, I C/P this line from github for my KMP project
implementation("clog:core:{{site.version}}")
in
commonMain
sourceset and tried replacing
{{site.version}}
with the latest version
3.5.4
but it wasn't found. It only seems to find something using
"io.copper-leaf:clog:3.5.4"
but then the iOS breaks. Any insights would be appreciated
c

Casey Brooks

09/09/2020, 5:24 PM
I don’t have it released to JCenter just yet, so you’ll need to add the local Bintray repo for it
repositories {
    ...
    maven(url = "<https://dl.bintray.com/copper-leaf/oss>")
}
i

Ivann Ruiz

09/09/2020, 5:39 PM
Forgot to mention that I added that maven repo as well, it's still not working though.
c

Casey Brooks

09/09/2020, 6:22 PM
Hmm, I just tried it again in the MPP library I’m creating this for, and it compiled to an iOS framework just fine. Is it not finding the iOS dependency, or it is having an error at runtime?
i

Ivann Ruiz

09/09/2020, 6:32 PM
• This doesn't work at all
implementation("clog:core:3.5.4")
(that's the KMP instruction from github) • This kind of works
implementation("io.copper-leaf:clog:3.5.4")
it will throw errors in the IDE but compile for Android. iOS fails with this message:
e: Could not find "/Users/ivannruiz/.gradle/caches/modules-2/files-2.1/io.copper-leaf/clog-iosx64/3.5.4/ed83b2ca17d07aa4e3db451a40e6d87de2caf8b3/clog.klib" in [/Users/ivannruiz/wormy-mobile/mobile/ios/Pods, /Users/ivannruiz/.konan/klib, /Users/ivannruiz/.konan/kotlin-native-prebuilt-macos-1.4/klib/common, /Users/ivannruiz/.konan/kotlin-native-prebuilt-macos-1.4/klib/platform/ios_x64].
c

Casey Brooks

09/09/2020, 6:43 PM
yeah, I’m still figuring how how exactly to publish it.
implementation("clog:core:3.5.4")
was my first try in publishing it but Bintray didn’t like the groupId, so I changed it to
implementation("io.copper-leaf:clog:3.5.4")
. It looks like I updated the JVM usage in the readme but not the MPP one, so thanks for pointing that out.
implementation("io.copper-leaf:clog:3.5.4")
is the proper dependency. Also, it looks like you’re using Kotlin 1.4? That might be causing that problem as well, I haven’t tried updating to it yet. I honestly don’t know what’s expected when using a 1.3.72 lib in 1.4
👍 1
i

Ivann Ruiz

09/09/2020, 6:52 PM
Ah yeah I'm using :kotlin: 1.4... that might have something to do with it
Guess I'll have to find another logger for the time being but would def like to see Clog in K1.4!
k

Konstantin Tskhovrebov

09/09/2020, 7:15 PM
Napier… 😌
👍 1
i

Ivann Ruiz

09/09/2020, 7:20 PM
@Konstantin Tskhovrebov Currently giving Napier a try! so far so good
View count: 9