jmfayard
01/18/2019, 10:56 AMbuildSrcVersions
for that. It extracts all dependencies with their exact version.
So you only have to define which dependencies you want
val forceDependencies = listOf(Libs.kotlin_reflect, Libs.kotlin_stdlib_jdk7)
and then the resolutionStrategy
block is always the same and straightforward
https://github.com/jmfayard/buildSrcVersions/issues/28Marc Knaup
01/18/2019, 11:45 AMLibs
coming from?
I don't want to set a specific version but use the one from the Kotlin Gradle Plugin. Also I don't want to list all possible Kotlin libraries but just state "whatever kotlin libraries there are, pin them to the same version".jmfayard
01/18/2019, 11:47 AMMarc Knaup
01/18/2019, 11:52 AMLibs
present but for that you have to compile the Gradle file first?jmfayard
01/18/2019, 11:58 AMMarc Knaup
01/19/2019, 9:32 AMjmfayard
01/19/2019, 9:40 AMLibs.kt
and Versions.kt
. You can then use <http://Libs.xxx|Libs.xxx>
in your builds.
For a longer version, see the README. Tell me if there is something unclear
https://github.com/jmfayard/buildSrcVersions