Slackbot
05/03/2022, 2:08 PMChris Lee
05/03/2022, 2:12 PMVampire
05/03/2022, 2:20 PMpluginManagement { plugin { ... } } is simply longer available to define a default version for a plugin to be used in the build.
Version catalogs feature (doesn't matter whether used from settings script or with TOML file to define the versions) is just a newer feature that is available now and that I personally would prefer.
But either way nothing should use the "latest version in the world" unless you do something really non-standard and strange. As Chris said, you probably need to provide an MCVE to show what you mean.Glen Peterson
05/03/2022, 2:58 PMVampire
05/03/2022, 3:02 PMlibs.plugins.dokka and so on, but libs.kotlin.dokka.Chris Lee
05/03/2022, 3:04 PMplugins {
`java-library`
alias(libs.plugins.m.versions)
alias(libs.plugins.dokka)
alias(libs.plugins.kotlin.jvm)
}Glen Peterson
05/03/2022, 3:27 PM@Suppress("DSL_SCOPE_VIOLATION")
alias(libs.plugins.m.versions)
Seems to suppress the IDE error.Vampire
05/03/2022, 3:46 PM