With Kotlin Multiplattform template, I found that dependencies have been set per source set, like the following:
sourceSets {
main {
dependencies {
implementation(aaa)
}
}
test{
dependencies {
implementation(bbb)
}
}
}
Is that actually the same as declaring dependencies centrally in the gradle file, like
dependencies {
implementation(aaa)
testImplementation(bbb)
}
or how do configurations work in dependencies per sourceSet?
Would I have to use testImplementation configuration in the test sourceSet as well for both to be equal?