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: about 2 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 (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-18T11:20:36.000Z (6 months ago)
- Last Synced: 2024-07-18T14:02:10.082Z (6 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
[![Build Status](https://github.com/evolution-gaming/sbt-scalac-opts-plugin/workflows/CI/badge.svg)](https://github.com/evolution-gaming/sbt-scalac-opts-plugin/actions?query=workflow%3ACI)
[![Coverage Status](https://coveralls.io/repos/evolution-gaming/sbt-scalac-opts-plugin/badge.svg)](https://coveralls.io/r/evolution-gaming/sbt-scalac-opts-plugin)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/15f881be37fa48078219c9c9e8d9361c)](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)
[![Version](https://maven-badges.herokuapp.com/maven-central/com.evolution/sbt-scalac-opts-plugin/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.evolution/sbt-scalac-opts-plugin)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellowgreen.svg)](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")
```