24 lines
747 B
Scala
24 lines
747 B
Scala
import sbtcrossproject.CrossPlugin.autoImport.{crossProject, CrossType}
|
|
|
|
val sharedSettings = Seq(
|
|
name := "aoc",
|
|
organization := "tf.bug",
|
|
version := "0.1.0",
|
|
scalaVersion := "2.13.1",
|
|
libraryDependencies ++= List(
|
|
"com.lihaoyi" %%% "fastparse" % "2.1.3",
|
|
"org.scala-graph" %%% "graph-core" % "1.13.1",
|
|
"org.typelevel" %%% "cats-core" % "2.0.0",
|
|
),
|
|
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
|
|
|
|
lazy val aoc = (project in file("aoc")).settings(sharedSettings)
|