Skip to content

Commit

Permalink
Updated to support latest Sonatype SBT plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
darkfrog26 committed Jan 18, 2018
1 parent 13d016d commit 683c40f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 27 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ reactify is published to Sonatype OSS and Maven Central currently supporting Sca
Configuring the dependency in SBT simply requires:

```
libraryDependencies += "com.outr" %% "reactify" % "2.2.0"
libraryDependencies += "com.outr" %% "reactify" % "2.3.0"
```

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

```
libraryDependencies += "com.outr" %%% "reactify" % "2.2.0"
libraryDependencies += "com.outr" %%% "reactify" % "2.3.0"
```

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

## Versions

### Features for 2.3.0 (Released 2018.01.18)

* [X] Cross-compile for Scala Native

### Features for 2.2.0 (Released 2017.09.10)

* [X] Refactoring of Listener to Observer for better naming convention (breaking changes)
Expand Down
9 changes: 8 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,16 @@ import sbtcrossproject.{crossProject, CrossType}

name in ThisBuild := "reactify"
organization in ThisBuild := "com.outr"
version in ThisBuild := "2.2.0"
version in ThisBuild := "2.3.0-SNAPSHOT"
scalaVersion in ThisBuild := "2.12.4"
crossScalaVersions in ThisBuild := List("2.12.4", "2.11.12", "2.13.0-M2")

publishTo in ThisBuild := sonatypePublishTo.value
sonatypeProfileName in ThisBuild := "com.outr"
publishMavenStyle in ThisBuild := true
licenses in ThisBuild := Seq("MIT" -> url("https://github.com/outr/reactify/blob/master/LICENSE"))
sonatypeProjectHosting in ThisBuild := Some(xerial.sbt.Sonatype.GithubHosting("outr", "reactify", "[email protected]"))

lazy val reactify = crossProject(JVMPlatform, JSPlatform, NativePlatform)
.crossType(CrossType.Pure)
.in(file("."))
Expand All @@ -25,6 +31,7 @@ lazy val reactifyNative = reactify.native
lazy val tests = crossProject(JVMPlatform, JSPlatform).crossType(CrossType.Pure)
.dependsOn(reactify)
.settings(
name := "reactify-tests",
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.4" % Test,
publish := {},
publishLocal := {},
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ resolvers += "Typesafe Repository" at "https://repo.typesafe.com/typesafe/releas

addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.1")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.19")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.21")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.1")
addSbtPlugin("com.codacy" % "sbt-codacy-coverage" % "1.3.11")
addSbtPlugin("org.portable-scala" % "sbt-crossproject" % "0.3.0")
Expand Down
23 changes: 0 additions & 23 deletions sonatype.sbt

This file was deleted.

0 comments on commit 683c40f

Please sign in to comment.