https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
y

yshrsmz

02/01/2019, 11:00 AM
For those who want BuildConfig for Kotlin MPP. I'm currently working on this https://github.com/yshrsmz/BuildKonfig
👍 4
💯 4
d

dany

02/01/2019, 11:02 AM
Great! Was really looking into such a thing for Kotlin Gradle projects (mpp included)
n

natpryce

02/01/2019, 11:36 AM
Nice
t

Tobi

02/01/2019, 3:12 PM
Nice one, just discovered a typo in the readme. The closure needs to be called
buildkonfig
instead of
buildKonfig
🙂
What’s weird is that as soon I add
classpath 'com.codingfeline.buildkonfig:buildkonfig-gradle-plugin:0.1.0'
to my pet project, the build breaks the build with some
ktor
related error 🤔 Could not find /Users/XXX/.gradle/caches/modules-2/files-2.1/io.ktor/ktor-client-ios_debug_ios_x64/1.0.0/356fffd211e215e1625368473e25ce844a378845/ktor-client-ios.klib in [/Users/XXX/Documents/repos/spikes/multiplatform-movies, /Users/XXX/.konan/klib, /Users/XXX/.konan/kotlin-native-macos-1.1.1/klib/common, /Users/XXX/.konan/kotlin-native-macos-1.1.1/klib/platform/ios_x64]
y

yshrsmz

02/01/2019, 4:07 PM
Maybe it’s because the plugin is for Kotlin 1.3.20 or later. I’ve updated the document.
👍 1
m

Mustafa Ozhan

02/18/2021, 9:19 PM
@yshrsmz I just published and article about it focus BuildKonfig and how to use it🙂 https://mustafaozhan.medium.com/gracefully-dealing-with-private-keys-in-kotlin-multi-platform-e9d21d62ad2a
y

yshrsmz

02/19/2021, 2:33 AM
@Mustafa Ozhan Thanks for the nice article! Looks good to me 👍 I've shared this on my Twitter 😄
m

Mustafa Ozhan

02/19/2021, 8:10 AM
Ohh great thank you 🙂
231 Views