Rak
06/16/2021, 7:52 AMimplementation(kotlin("test-common"))
I understand the original gradle format well but I am finding information on the new kts format lackingCLOVIS
06/16/2021, 8:09 AMKotlin
function, just CTRL B on it to see its code, it is really easy to understand.Rak
06/16/2021, 8:25 AMfun kotlin(simpleModuleName: String, version: String?): ExternalModuleDependency
That doesn’t really tell me anything.Rak
06/16/2021, 8:27 AMtest-common
is defined to know what libs and versions that refers to.CLOVIS
06/16/2021, 9:34 AMKotlin
plugin. The Kotlin function is just a shorthand to do that instead of writing the full string.
If you want to explicitly know what's going on, you can run the gradle task ‘`dependencies`' which will give you much more details.CLOVIS
06/16/2021, 9:37 AMkotlin("test-common")
is just a shorthand for
"org.jetbrains.kotlin:kotlin-test-common:<Kotlin version you specified in the plugins block>"