Ivann Ruiz
09/03/2020, 6:18 PMCasey Brooks
09/03/2020, 6:20 PMIvann Ruiz
09/03/2020, 6:21 PMKonstantin Tskhovrebov
09/03/2020, 7:05 PMIvann Ruiz
09/09/2020, 5:19 PMimplementation("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 appreciatedCasey Brooks
09/09/2020, 5:24 PMrepositories {
...
maven(url = "<https://dl.bintray.com/copper-leaf/oss>")
}
Ivann Ruiz
09/09/2020, 5:39 PMCasey Brooks
09/09/2020, 6:22 PMIvann Ruiz
09/09/2020, 6:32 PMimplementation("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].
Casey Brooks
09/09/2020, 6:43 PMimplementation("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.4Ivann Ruiz
09/09/2020, 6:52 PMKonstantin Tskhovrebov
09/09/2020, 7:15 PMIvann Ruiz
09/09/2020, 7:20 PM