feat: moving to sbt for building

it will be able to build into nix with sbt-derivation
oh well
This commit is contained in:
efim 2023-06-26 18:42:42 +00:00
parent dbe2cd47da
commit 44340882ab
3 changed files with 28 additions and 0 deletions

7
.gitignore vendored
View File

@ -3,3 +3,10 @@
.metals/
.direnv
*/dist/
/11-single-price-grid-component/.bloop/
*/project/project/
*/project/metals.sbt
*/project/.bloop
*/project/target/
*/target/

View File

@ -0,0 +1,20 @@
scalaVersion := "3.3.0"
fork := true
ThisBuild / version := "0.0.1"
ThisBuild / organization := "industries.sunshine"
lazy val root = (project in file("."))
.settings(
name := "priceGrid",
libraryDependencies ++= Seq(
"com.lihaoyi" %% "cask" % "0.9.1",
"com.lihaoyi" %% "scalatags" % "0.12.0",
"com.lihaoyi" %% "mainargs" % "0.5.0"
),
libraryDependencies ++= Seq(
"com.lihaoyi" %% "cask" % "0.9.1" % Test,
"com.lihaoyi" %% "scalatags" % "0.12.0" % Test,
"com.lihaoyi" %% "mainargs" % "0.5.0" % Test
)
)

View File

@ -0,0 +1 @@
sbt.version=1.9.0