2018-11-25 00:14:47 +00:00
|
|
|
import sbtcrossproject.CrossPlugin.autoImport.{crossProject, CrossType}
|
|
|
|
|
|
|
|
val sharedSettings = Seq(
|
2018-11-25 00:30:29 +00:00
|
|
|
name := "aoc",
|
2018-11-25 00:14:47 +00:00
|
|
|
organization := "tf.bug",
|
2018-11-25 00:30:29 +00:00
|
|
|
version := "0.1.0",
|
2019-12-02 08:08:44 +00:00
|
|
|
scalaVersion := "2.13.1",
|
2018-11-25 00:14:47 +00:00
|
|
|
libraryDependencies ++= List(
|
2019-12-02 08:08:44 +00:00
|
|
|
"com.lihaoyi" %%% "fastparse" % "2.1.3",
|
|
|
|
"org.scala-graph" %%% "graph-core" % "1.13.1",
|
|
|
|
"org.typelevel" %%% "cats-core" % "2.0.0",
|
2018-11-25 00:14:47 +00:00
|
|
|
),
|
|
|
|
mainClass := Some("tf.bug.aoc.Main"),
|
|
|
|
)
|
|
|
|
|
2019-12-02 08:08:44 +00:00
|
|
|
// lazy val aoc = crossProject(/* JSPlatform, */ JVMPlatform /* , NativePlatform */ )
|
|
|
|
// .crossType(CrossType.Pure)
|
|
|
|
// .settings(sharedSettings)
|
|
|
|
//
|
|
|
|
// lazy val aocJS = aoc.js
|
|
|
|
// lazy val aocJVM = aoc.jvm
|
2018-11-25 00:14:47 +00:00
|
|
|
// lazy val aocNative = aoc.native
|
2019-12-02 08:08:44 +00:00
|
|
|
|
|
|
|
lazy val aoc = (project in file("aoc")).settings(sharedSettings)
|