All Projects → DavidGregory084 → Sbt Tpolecat

DavidGregory084 / Sbt Tpolecat

Licence: apache-2.0
scalac options for the enlightened

Programming Languages

scala
5932 projects

Projects that are alternatives of or similar to Sbt Tpolecat

Sbt Docker Compose
Integrates Docker Compose functionality into sbt
Stars: ✭ 168 (-25.99%)
Mutual labels:  sbt, sbt-plugin
Sbt Native Packager
sbt Native Packager
Stars: ✭ 1,480 (+551.98%)
Mutual labels:  sbt, sbt-plugin
Sbt Dependency Graph
sbt plugin to create a dependency graph for your project
Stars: ✭ 1,223 (+438.77%)
Mutual labels:  sbt, sbt-plugin
Gatling Sbt Plugin Demo
Showcase of the Gatling Plugin for SBT
Stars: ✭ 137 (-39.65%)
Mutual labels:  sbt, sbt-plugin
Sbt Crossproject
Cross-platform compilation support for sbt.
Stars: ✭ 176 (-22.47%)
Mutual labels:  sbt, sbt-plugin
Sbt Multi Jvm
Multi-JVM testing in sbt
Stars: ✭ 50 (-77.97%)
Mutual labels:  sbt, sbt-plugin
Sbt Prompt
An SBT plugin for making your SBT prompt more awesome
Stars: ✭ 107 (-52.86%)
Mutual labels:  sbt, sbt-plugin
Sbt Updates
sbt plugin that can check Maven and Ivy repositories for dependency updates
Stars: ✭ 653 (+187.67%)
Mutual labels:  sbt, sbt-plugin
Sbt Protobuf
sbt plugin for compiling protobuf files
Stars: ✭ 163 (-28.19%)
Mutual labels:  sbt, sbt-plugin
Sbt Unidoc
sbt plugin to create a unified API document across projects
Stars: ✭ 113 (-50.22%)
Mutual labels:  sbt, sbt-plugin
Sbt Play Gulp
Gulp asset pipeline for Play Framework
Stars: ✭ 38 (-83.26%)
Mutual labels:  sbt, sbt-plugin
Stryker4s
Mutation testing for Scala. Work in progress...
Stars: ✭ 118 (-48.02%)
Mutual labels:  sbt, sbt-plugin
Sbt Ignore Play Generated
Configure linters and coverage tools to ignore Play's generated source files.
Stars: ✭ 10 (-95.59%)
Mutual labels:  sbt, sbt-plugin
Sbt Frege
Frege support for sbt
Stars: ✭ 51 (-77.53%)
Mutual labels:  sbt, sbt-plugin
Sbt Docker
Create Docker images directly from sbt
Stars: ✭ 689 (+203.52%)
Mutual labels:  sbt, sbt-plugin
Flyway Sbt
Flyway SBT plugin
Stars: ✭ 101 (-55.51%)
Mutual labels:  sbt, sbt-plugin
Sbt Buildinfo
I know this because build.sbt knows this.
Stars: ✭ 486 (+114.1%)
Mutual labels:  sbt, sbt-plugin
Sbt Release
A release plugin for sbt
Stars: ✭ 582 (+156.39%)
Mutual labels:  sbt, sbt-plugin
Sbt S3 Resolver
☁️Amazon S3-based resolver for sbt
Stars: ✭ 112 (-50.66%)
Mutual labels:  sbt, sbt-plugin
Sbt Jacoco
JaCoCo Code Coverage plug-in for sbt.
Stars: ✭ 115 (-49.34%)
Mutual labels:  sbt, sbt-plugin

sbt-tpolecat

Build Status License

scalac options for the enlightened

sbt-tpolecat is an SBT plugin for automagically configuring scalac options according to the project Scala version, inspired by Rob Norris (@tpolecat)'s excellent series of blog posts providing recommended options to get the most out of the compiler.

It also enables the excellent sbt-partial-unification plugin for those Scala versions where it is needed.

As of version 0.1.11, it also supports setting options for Dotty.

Usage

Add the following to your project's project/plugins.sbt:

addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.1.17")

If necessary you can filter out scalac options that are unhelpful in the REPL from user-defined tasks or scopes.

By default the plugin only applies this filtering to the console task in the Compile and Test configurations.

scalacOptions.in(Tut) ~= filterConsoleScalacOptions

Caveat

I can't promise this plugin will work for old minor releases of Scala. It has been tested with:

  • 2.13.5
  • 2.13.4
  • 2.13.3
  • 2.12.12
  • 2.11.12
  • 2.10.7

and Dotty versions:

  • 3.0.0-M1
  • 0.27.0-RC1
  • 0.26.0

License

All code in this repository is licensed under the Apache License, Version 2.0. See LICENSE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].