Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evolution-gaming/sbt-scalac-opts-plugin
sbt-scalac-opts-plugin
https://github.com/evolution-gaming/sbt-scalac-opts-plugin
compiler-options plugin sbt sbt-plugin scala scalac
Last synced: 3 months ago
JSON representation
sbt-scalac-opts-plugin
- Host: GitHub
- URL: https://github.com/evolution-gaming/sbt-scalac-opts-plugin
- Owner: evolution-gaming
- License: mit
- Created: 2019-05-06T06:55:05.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-07-18T11:20:36.000Z (7 months ago)
- Last Synced: 2024-07-18T14:02:10.082Z (7 months ago)
- Topics: compiler-options, plugin, sbt, sbt-plugin, scala, scalac
- Language: Scala
- Size: 43.9 KB
- Stars: 3
- Watchers: 13
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sbt-scalac-opts-plugin
[](https://github.com/evolution-gaming/sbt-scalac-opts-plugin/actions?query=workflow%3ACI)
[](https://coveralls.io/r/evolution-gaming/sbt-scalac-opts-plugin)
[](https://www.codacy.com/app/evolution-gaming/sbt-scalac-opts-plugin?utm_source=github.com&utm_medium=referral&utm_content=evolution-gaming/sbt-scalac-opts-plugin&utm_campaign=Badge_Grade)
[](https://maven-badges.herokuapp.com/maven-central/com.evolution/sbt-scalac-opts-plugin)
[](https://opensource.org/licenses/MIT)Scalac options for sbt projects.
Check [scalacOptsAll](src/main/scala/com/evolution/scalacopts/ScalacOptsPlugin.scala#L22) out
Many ideas are borrowed from [sbt-tpolecat](https://github.com/DavidGregory084/sbt-tpolecat). Thanks!
## Settings
* `scalacOptsFailOnWarn: Option[Boolean]` Adds or removes `-Xfatal-warnings`, default is `Some(true)`
## Installation
Create a file in your project called `project/plugins.sbt` with the following content:
```scala
addSbtPlugin("com.evolution" % "sbt-scalac-opts-plugin" % "0.0.9")
```