cbt icon indicating copy to clipboard operation
cbt copied to clipboard

make plugins configurable

Open cvogt opened this issue 9 years ago • 1 comments

currently plugins hard code what dependencies they add to your build, etc. we could consider making plugins configurable. One way to do it is having a build for the build of your build in which you load a configuration plugin for your project which then allows you to create a configuration object in the build of your build and pass it through the context when loading the plugin. Having a meta-meta-build may be over the top. Maybe there are other solutions.

cvogt avatar Mar 29 '17 14:03 cvogt

Maybe there are other solutions.

One suggestion: build/build.conf file where these version numbers can live.

plugins.scalafix = "1.2.3"
plugins.buildinfo = "4.5.6"
...

Still, I think it should always be possible to configure the build in 100% Scala, to accommodate tricker edge-cases.

Related: https://github.com/cvogt/cbt/issues/400

olafurpg avatar Mar 29 '17 14:03 olafurpg