aoc-old/build.sbt
2018-11-27 17:23:21 -08:00

21 lines
608 B
Scala

import sbtcrossproject.CrossPlugin.autoImport.{crossProject, CrossType}
val sharedSettings = Seq(
name := "aoc",
organization := "tf.bug",
version := "0.1.0",
scalaVersion := "2.12.7",
libraryDependencies ++= List(
"com.lihaoyi" %%% "fastparse" % "2.0.4",
"org.scala-graph" %%% "graph-core" % "1.12.5",
),
mainClass := Some("tf.bug.aoc.Main"),
)
lazy val aoc = crossProject(JSPlatform, JVMPlatform /* , NativePlatform */ )
.crossType(CrossType.Pure)
.settings(sharedSettings)
lazy val aocJS = aoc.js
lazy val aocJVM = aoc.jvm
// lazy val aocNative = aoc.native