forked from baptistemesta/power-mode-intellij-plugin
-
Notifications
You must be signed in to change notification settings - Fork 37
/
build.sbt
30 lines (29 loc) · 1.32 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
import org.jetbrains.sbtidea.Keys._
lazy val powerMode =
project
.in(file("."))
.enablePlugins(SbtIdeaPlugin)
.settings(
version := "105.501",
scalaVersion := "2.13.12",
ThisBuild / intellijPluginName := "Power Mode II",
ThisBuild / intellijBuild := "232.10227.8",
ThisBuild / intellijPlatform := IntelliJPlatform.IdeaCommunity,
Global / intellijAttachSources := true,
Compile / javacOptions ++= "--release" :: "17" :: Nil,
intellijPlugins += "com.intellij.properties".toPlugin,
libraryDependencies ++= Seq(
"javazoom" % "jlayer" % "1.0.1",
"org.typelevel" %% "squants" % "1.6.0",
"org.apache.commons" % "commons-math3" % "3.3",
"com.eclipsesource.minimal-json" % "minimal-json" % "0.9.5" withSources ()
),
libraryDependencies += "com.ryanstull" %% "scalanullsafe" % "1.2.6",
scalacOptions in ThisBuild += "-deprecation",
unmanagedJars in Compile += baseDirectory.value / "lib",
unmanagedResourceDirectories in Compile += baseDirectory.value / "resources",
resourceDirectories in Runtime += baseDirectory.value / "resources",
unmanagedResourceDirectories in Test += baseDirectory.value / "testResources",
packageMethod := PackagingMethod.Standalone(),
bundleScalaLibrary in ThisBuild := true
)