aoc-old/build.sbt

22 lines
608 B
Plaintext
Raw Normal View History

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",
2018-11-25 18:49:04 +00:00
scalaVersion := "2.12.7",
2018-11-25 00:14:47 +00:00
libraryDependencies ++= List(
2018-11-28 01:23:21 +00:00
"com.lihaoyi" %%% "fastparse" % "2.0.4",
"org.scala-graph" %%% "graph-core" % "1.12.5",
2018-11-25 00:14:47 +00:00
),
mainClass := Some("tf.bug.aoc.Main"),
)
2018-11-25 00:30:29 +00:00
lazy val aoc = crossProject(JSPlatform, JVMPlatform /* , NativePlatform */ )
.crossType(CrossType.Pure)
.settings(sharedSettings)
2018-11-25 00:14:47 +00:00
2018-11-25 00:30:29 +00:00
lazy val aocJS = aoc.js
lazy val aocJVM = aoc.jvm
2018-11-25 00:14:47 +00:00
// lazy val aocNative = aoc.native