Yes, but in places where I have a lot of dependenc...
# gradle
p
Yes, but in places where I have a lot of dependencies, I do not want separate block of values’ declarations/definitions just to read those versions from
extra
. Like here:
Copy code
testImplementation(group = "junit",
                       name = "junit",
                       version = extra.string("version_of_junit4"))
    testImplementation(group = "org.assertj",
                       name = "assertj-core",
                       version = extra.string("version_of_assertj"))
    testImplementation(group = "pl.pragmatists",
                       name = "JUnitParams",
                       version = extra.string("version_of_junitparams"))
It’s matter of preference, I would say.