Description of the problem: large sbt file
Our current build.sbtcontains 250 lines.
We have two problems:
readability
current approach for grouping data and comments:
// Plugins ///////////////////////////////////////////////////
enablePlugins(DockerPlugin)
// basic configuration : projects ///////////////////////////
name := """projectName"""
lazy val projectName =
(project in file(".")).....
reuse of logic
We have some configuration logic that we would like to share between different projects.
Question
Is there any way to include other *.sbtfiles? Or do you have a suggestion to solve this problem without resorting to writing the sbt plugin?
source
share