-
Notifications
You must be signed in to change notification settings - Fork 23
/
build.sbt
47 lines (42 loc) · 1.74 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import com.jsuereth.sbtpgp.PgpKeys.publishSigned
import sbt.Keys._
import sbt._
import xerial.sbt.Sonatype._
ThisBuild / scalaVersion := "2.13.6"
ThisBuild / scalacOptions ++= Seq("-feature", "-unchecked")
ThisBuild / organization := "net.team2xh"
publishTo := sonatypePublishTo.value
publishMavenStyle := true
ThisBuild / sonatypeProfileName := "net.team2xh"
ThisBuild / sonatypeProjectHosting := Some(
GitHubHosting(user = "Tenchi2xh", repository = "Scurses", email = "[email protected]")
)
ThisBuild / developers := List(
Developer(id = "tenchi", name = "Hamza Haiken", email = "[email protected]", url = url("http://tenchi.me"))
)
ThisBuild / licenses := Seq("MIT" -> url("https://github.com/Tenchi2xh/Scurses/blob/master/LICENSE"))
// This is causing problems with env variables being passed in, see
// https://github.com/sbt/sbt/issues/6468
ThisBuild / githubWorkflowUseSbtThinClient := false
ThisBuild / githubWorkflowPublishTargetBranches := Seq()
lazy val root = (project in file("."))
.aggregate(scurses, onions)
.settings(
publish / skip := true,
publishLocal / skip := true,
publishSigned / skip := true
)
lazy val scurses = (project in file("scurses"))
.settings(
name := "scurses",
version := "1.0.1",
libraryDependencies += "com.lihaoyi" %% "fastparse" % "2.3.2",
Compile / run / mainClass := Some("net.team2xh.scurses.examples.GameOfLife")
)
lazy val onions = (project in file("onions"))
.dependsOn(scurses)
.settings(
name := "onions",
version := "1.0.1",
Compile / run / mainClass := Some("net.team2xh.onions.examples.ExampleUI")
)