Closed gkossakowski closed 1 year ago
I also ended up adding removeScalacOptions
in https://github.com/scala/community-builds/commit/18dbba80b4e24f5a3fb95239b274d5a8bf78012c
addScalacOptions
and removeScalacOptions
are the only things the community build has ever really needed in this space
Dbuild lets you modify settings only in a specific scope. Modifying the setting in all subprojects requires specifying it for each subproject individually. We would need a mechanism similar to
set every
, instead.Possible workaround
You can introduce a custom command called
appendScalacOptions
and use it when needed.The snippet has been taken from: https://github.com/scala/community-builds/blob/7d8bcd05fb6108fde975abc3d176e2fe06aeb458/common-2.11.x.conf#L136