These are chat archives for sbt/sbt

12th
Mar 2015
Mark Schaake
@markschaake
Mar 12 2015 16:58
We have an AutoPlugin that requires plugins.JvmPlugin and want to override one of the settings the AutoPlugin sets for the project. However, the setting in the plugin seems to override what we specify in our build.sbt. Is this expected?
Dale Wijnand
@dwijnand
Mar 12 2015 17:05
can you link your project's build.sbt as well?
Mark Schaake
@markschaake
Mar 12 2015 17:06
@dwijnand sure. This is the code that is not overriding the setting: https://github.com/allenai/pipeline/blob/nextversion/build.sbt#L27-L29
Dale Wijnand
@dwijnand
Mar 12 2015 17:07
ah.. so try this:
lazy val pipeline = (Project(id = "allenai-pipeline", base = file("."))
  .enablePlugins(LibraryPlugin)
  .settings(buildSettings)
)
that way it's set by the plugin and then modified by buildSettings
(oh and just realised... this isn't for sbt support, stackoverflow is better so it's then searchable for the future)
Mark Schaake
@markschaake
Mar 12 2015 17:11
Thanks @dwijnand but that doesn't work either. I'll create a stackoverflow question for this. Sorry for the wrong use of this forum
Dale Wijnand
@dwijnand
Mar 12 2015 17:39
ah :( ok cool
Mark Schaake
@markschaake
Mar 12 2015 17:39
BTW, figured it out eventually. We need to override another setting. SBT was working as expected... just another user error!
Dale Wijnand
@dwijnand
Mar 12 2015 17:40
hehe :)