forked from aimacode/aima-scala
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
25 lines (22 loc) · 787 Bytes
/
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
import org.scalafmt.sbt.ScalafmtPlugin.autoImport._
import sbtcrossproject.CrossPlugin.autoImport.{crossProject, CrossType}
lazy val commonSettings = Seq(
organization := "com.github.aimacode.aima-scala",
version := "0.1.0-SNAPSHOT",
scalaVersion := "2.13.1",
scalafmtConfig := file(".scalafmt"),
scalafmtOnCompile := true,
coverageEnabled := false,
coverageMinimum := 70,
coverageFailOnMinimum := false,
autoCompilerPlugins := true
)
lazy val root = (project in file("."))
.settings(commonSettings: _*)
.aggregate(core.jvm, core.js)
lazy val core = crossProject(JSPlatform, JVMPlatform)
.crossType(CrossType.Pure)
.in(file("core"))
.settings(commonSettings: _*)
.settings(name := "core")
.settings(dependencies.commonDependencies)