Skip to content

Commit 683c40f

Browse files
committed
Updated to support latest Sonatype SBT plugin.
1 parent 13d016d commit 683c40f

File tree

4 files changed

+15
-27
lines changed

4 files changed

+15
-27
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ reactify is published to Sonatype OSS and Maven Central currently supporting Sca
3131
Configuring the dependency in SBT simply requires:
3232

3333
```
34-
libraryDependencies += "com.outr" %% "reactify" % "2.2.0"
34+
libraryDependencies += "com.outr" %% "reactify" % "2.3.0"
3535
```
3636

3737
or for Scala.js / Scala Native / cross-building:
3838

3939
```
40-
libraryDependencies += "com.outr" %%% "reactify" % "2.2.0"
40+
libraryDependencies += "com.outr" %%% "reactify" % "2.3.0"
4141
```
4242

4343
## Concepts
@@ -276,6 +276,10 @@ We need implicits to be able to convert between the two, but now changes to one
276276

277277
## Versions
278278

279+
### Features for 2.3.0 (Released 2018.01.18)
280+
281+
* [X] Cross-compile for Scala Native
282+
279283
### Features for 2.2.0 (Released 2017.09.10)
280284

281285
* [X] Refactoring of Listener to Observer for better naming convention (breaking changes)

build.sbt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,16 @@ import sbtcrossproject.{crossProject, CrossType}
22

33
name in ThisBuild := "reactify"
44
organization in ThisBuild := "com.outr"
5-
version in ThisBuild := "2.2.0"
5+
version in ThisBuild := "2.3.0-SNAPSHOT"
66
scalaVersion in ThisBuild := "2.12.4"
77
crossScalaVersions in ThisBuild := List("2.12.4", "2.11.12", "2.13.0-M2")
88

9+
publishTo in ThisBuild := sonatypePublishTo.value
10+
sonatypeProfileName in ThisBuild := "com.outr"
11+
publishMavenStyle in ThisBuild := true
12+
licenses in ThisBuild := Seq("MIT" -> url("https://github.com/outr/reactify/blob/master/LICENSE"))
13+
sonatypeProjectHosting in ThisBuild := Some(xerial.sbt.Sonatype.GithubHosting("outr", "reactify", "matt@outr.com"))
14+
915
lazy val reactify = crossProject(JVMPlatform, JSPlatform, NativePlatform)
1016
.crossType(CrossType.Pure)
1117
.in(file("."))
@@ -25,6 +31,7 @@ lazy val reactifyNative = reactify.native
2531
lazy val tests = crossProject(JVMPlatform, JSPlatform).crossType(CrossType.Pure)
2632
.dependsOn(reactify)
2733
.settings(
34+
name := "reactify-tests",
2835
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.4" % Test,
2936
publish := {},
3037
publishLocal := {},

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ resolvers += "Typesafe Repository" at "https://repo.typesafe.com/typesafe/releas
33

44
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.1")
55
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0")
6-
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.19")
6+
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.21")
77
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.1")
88
addSbtPlugin("com.codacy" % "sbt-codacy-coverage" % "1.3.11")
99
addSbtPlugin("org.portable-scala" % "sbt-crossproject" % "0.3.0")

sonatype.sbt

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)