touchlab / KaMPKit

KaMP Kit by Touchlab. A collection of code & tools designed to get your mobile team started quickly w/Kotlin Multiplatform
https://touchlab.co/
Apache License 2.0
2.2k stars 199 forks source link

buildSrc dependency management #3

Closed samhill303 closed 4 years ago

samhill303 commented 4 years ago

Adding version and dependency objects using the buildSrc dir. See here: https://handstandsam.com/2018/02/11/kotlin-buildsrc-for-better-gradle-dependency-management/

Gives us nice clean gradle files and autocomplete for dependencies. Interested in thoughts compared to other options

Once we have a KMP dependency we should nest objects similar to how we did with ext in droidcon. eg Deps.Ktor.android Deps.Ktor.common