-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
39 lines (36 loc) · 1.41 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
ThisBuild / scalaVersion := "2.13.10"
ThisBuild / organization := "pl.iterators"
ThisBuild / organizationName := "Iterators"
ThisBuild / organizationHomepage := Some(url("https://iteratorshq.com/"))
ThisBuild / intellijPluginName := "kebs-intellij"
// List of release versions: https://www.jetbrains.com/intellij-repository/releases
// List of snapshot versions: https://www.jetbrains.com/intellij-repository/snapshots
ThisBuild / intellijBuild := "223.7571.182"
ThisBuild / scalacOptions ++= Seq(
"-explaintypes",
"-deprecation",
"-unchecked",
"-feature",
"-Xlint:serial",
"-Ymacro-annotations",
"-Xfatal-warnings",
"-language:implicitConversions",
"-language:reflectiveCalls",
"-language:existentials"
)
lazy val `kebs-intellij` = project
.in(file("."))
.enablePlugins(SbtIdeaPlugin)
.settings(
intellijPlugins := Seq(
"com.intellij.java".toPlugin, // this is not required in the runtime, although it is required by JetBrains, see https://blog.jetbrains.com/platform/2019/06/java-functionality-extracted-as-a-plugin/
"org.intellij.scala".toPlugin
),
libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % Test,
testOptions += Tests.Argument(TestFrameworks.JUnit, "-v"),
patchPluginXml := pluginXmlOptions { xml =>
xml.version = version.value
xml.changeNotes = ChangeNotes.value
}
)
addCommandAlias("fmt", "all scalafmtSbt scalafmt test:scalafmt")