For those who want BuildConfig for Kotlin MPP. I'm currently working on this <https://github.com/ysh...
y
For those who want BuildConfig for Kotlin MPP. I'm currently working on this https://github.com/yshrsmz/BuildKonfig
๐Ÿ‘ 4
๐Ÿ’ฏ 4
d
Great! Was really looking into such a thing for Kotlin Gradle projects (mpp included)
n
Nice
t
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
Maybe itโ€™s because the plugin is for Kotlin 1.3.20 or later. Iโ€™ve updated the document.
๐Ÿ‘ 1
m
@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
@Mustafa Ozhan Thanks for the nice article! Looks good to me ๐Ÿ‘ I've shared this on my Twitter ๐Ÿ˜„
m
Ohh great thank you ๐Ÿ™‚
333 Views