Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* scalafmt On Compile * Disable scalafmtOnCompile for all CI runs * Make CI use travis default CI var
- Loading branch information
1 parent
1eadf09
commit d3641c3
Showing
3 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
import scala.util.Properties | ||
|
||
val scala2_12 = "2.12.11" | ||
val scala2_13 = "2.13.2" | ||
|
||
scalafmtOnCompile in ThisBuild := !Properties.envOrNone("CI").contains("true") | ||
|
||
scalaVersion in ThisBuild := scala2_13 | ||
|
||
crossScalaVersions in ThisBuild := List(scala2_13, scala2_12) |