Thread
#multiplatform
    y

    yshrsmz

    3 years ago
    For those who want BuildConfig for Kotlin MPP. I'm currently working on thishttps://github.com/yshrsmz/BuildKonfig
    d

    dany

    3 years ago
    Great! Was really looking into such a thing for Kotlin Gradle projects (mpp included)
    natpryce

    natpryce

    3 years ago
    Nice
    Tobi

    Tobi

    3 years ago
    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

    3 years ago
    Maybe it’s because the plugin is for Kotlin 1.3.20 or later. I’ve updated the document.
    Mustafa Ozhan

    Mustafa Ozhan

    1 year ago
    @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

    1 year ago
    @Mustafa Ozhan Thanks for the nice article! Looks good to me 👍 I've shared this on my Twitter 😄
    Mustafa Ozhan

    Mustafa Ozhan

    1 year ago
    Ohh great thank you 🙂