-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.sbt
59 lines (50 loc) · 1.87 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
48
49
50
51
52
53
54
55
56
57
58
59
import sbtcrossproject.CrossPlugin.autoImport.{crossProject, CrossType}
// Scala versions
val scala213 = "2.13.15"
val scala212 = "2.12.20"
val scala3 = List("3.3.4")
val scala2 = List(scala213, scala212)
val allScalaVersions = scala2 ::: scala3
ThisBuild / name := "reactify"
ThisBuild / organization := "com.outr"
ThisBuild / version := "4.1.3"
ThisBuild / scalaVersion := scala213
ThisBuild / crossScalaVersions := allScalaVersions
ThisBuild / sonatypeCredentialHost := "s01.oss.sonatype.org"
ThisBuild / sonatypeRepository := "https://s01.oss.sonatype.org/service/local"
ThisBuild / publishTo := sonatypePublishTo.value
ThisBuild / sonatypeProfileName := "com.outr"
ThisBuild / publishMavenStyle := true
ThisBuild / licenses := Seq("MIT" -> url("https://github.com/outr/reactify/blob/master/LICENSE"))
ThisBuild / sonatypeProjectHosting := Some(xerial.sbt.Sonatype.GitHubHosting("outr", "reactify", "[email protected]"))
ThisBuild / homepage := Some(url("https://github.com/outr/reactify"))
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/outr/reactify"),
"scm:[email protected]:outr/reactify.git"
)
)
ThisBuild / developers := List(
Developer(id="darkfrog", name="Matt Hicks", email="[email protected]", url=url("https://matthicks.com"))
)
val scalaTestVersion: String = "3.2.10"
lazy val reactify = crossProject(JVMPlatform, JSPlatform, NativePlatform)
.crossType(CrossType.Pure)
.settings(
name := "reactify",
test / publishArtifact := false,
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.2.19" % "test"
),
crossScalaVersions := allScalaVersions
)
//lazy val benchmark = project
// .in(file("benchmark"))
// .settings(
// name := "reactify-benchmark",
// libraryDependencies ++= Seq(
// "com.lihaoyi" %% "scalarx" % "0.4.3"
// ),
// crossScalaVersions := List(scala213)
// )
// .dependsOn(reactifyJVM)