sbt 1.x, sbt 0.13.13+
Use -warn
or -error
. See Fixes with compatibility implications for sbt 0.13.13 release:
it is strongly encouraged to migrate to the single hyphen options:
-error
,-warn
,-info
, and-debug
sbt 0.13.1
To disable info
messages run SBT with --warn
or --error
command line options.
To disable [success]
messages set showSuccess
to false
.
Bringing it all together, it gives you the following options:
-
On command line use the following:
$ sbt --error 'set showSuccess := false' run
-
In
build.sbt
addshowSuccess := false
$ cat build.sbt showSuccess := false
and execute sbt --error run
.