Just wanted to follow up here that we use about 20 third party plugins in our build so I’ve written some code in our setting.gradle.kts
to do some very rudimentary parsing of our libs.versions.toml
and add all the plugins defined there as described above. You don’t appear to be able to do this from a Plugin<Settings>
and you don’t have access to much at this point in the build so I couldn’t even use Regex
for example. It doesn’t handle everything, but does the job for us for now. Now when I run ./gradlew buildenvironment
there are no libraries on the classpath where there were plenty before and we don’t get lengthy rebuilds when adding new libraries anymore.
Thanks again!