-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathbuild.sbt
More file actions
59 lines (50 loc) · 1.82 KB
/
build.sbt
File metadata and controls
59 lines (50 loc) · 1.82 KB
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.18"
val scala212 = "2.12.21"
val scala3 = "3.3.7"
val scala2 = List(scala213, scala212)
val allScalaVersions = scala3 :: scala2
ThisBuild / name := "reactify"
ThisBuild / organization := "com.outr"
ThisBuild / version := "4.2.0"
ThisBuild / scalaVersion := scala3
ThisBuild / crossScalaVersions := allScalaVersions
ThisBuild / sonatypeCredentialHost := Sonatype.sonatypeCentralHost
ThisBuild / publishMavenStyle := true
ThisBuild / publishTo := sonatypePublishToBundle.value
ThisBuild / sonatypeProfileName := "com.outr"
ThisBuild / publishMavenStyle := true
ThisBuild / licenses := Seq("MIT" -> url("https://github.com/outr/reactify/blob/master/LICENSE"))
ThisBuild / sonatypeProjectHosting := Some(Sonatype.GitHubHosting("outr", "reactify", "matt@outr.com"))
ThisBuild / homepage := Some(url("https://github.com/outr/reactify"))
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/outr/reactify"),
"scm:git@github.com:outr/reactify.git"
)
)
ThisBuild / developers := List(
Developer(id="darkfrog", name="Matt Hicks", email="matt@matthicks.com", 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)