Skip to content

Commit

Permalink
Merge pull request #4 from cquiroz/test_release
Browse files Browse the repository at this point in the history
Release info
  • Loading branch information
cquiroz committed Dec 9, 2016
2 parents 492575f + 14fbeea commit ec4f542
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@
!/src/test/

**/TempTest.java
tzdb/
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Scala Java-Time

[![Build Status](https://travis-ci.org/cquiroz/scala-java-time.svg?branch=master)](https://travis-ci.org/cquiroz/scala-java-time)
[![Maven Central](https://img.shields.io/maven-central/v/com.github.cquiroz/scala-java-time_2.11.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.cquiroz/scala-java-time_2.11)
[![Maven Central](https://img.shields.io/maven-central/v/io.github.cquiroz/scala-java-time_2.11.svg)](https://maven-badges.herokuapp.com/maven-central/io.github.cquiroz/scala-java-time_2.11)
[![Scala.js](http://scala-js.org/assets/badges/scalajs-0.6.8.svg)](http://scala-js.org)

This project provides an implementation of the `java.time` package, a date and time library that was added in Java 8.
Expand All @@ -11,11 +11,11 @@ The implementation is based on the original BSD-licensed reference implementatio
#### Usage

The *scala-java-time* library is currently available for Scala (JVM, version 8 and later) and Scala.js (JavaScript).
Both Scala 2.11 and Scala 2.12 (2.12.0-M5 and later) are supported.
Both Scala 2.11 and Scala 2.12 (2.12.0-M6 and later) are supported.

To get started with SBT, add one (or both) of these dependencies:

- `libraryDependencies += "io.github.cquiroz" % "scala-java-time" % "2.0.0-M6"` (for Scala)
- `libraryDependencies += "io.github.cquiroz" %% "scala-java-time" % "2.0.0-M6"` (for Scala)
- `libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % "2.0.0-M6"` (for Scala.js, [Scala.js plugin](http://www.scala-js.org/tutorial/basic/#sbt-setup) required)

#### Documentation
Expand Down
9 changes: 2 additions & 7 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,13 @@ lazy val commonSettings = Seq(

lazy val root = project.in(file("."))
.aggregate(scalajavatimeJVM, scalajavatimeJS)
.enablePlugins(MicrositesPlugin)
.settings(commonSettings: _*)
.settings(
scalaVersion := scalaVer,
crossScalaVersions := crossScalaVer,
name := "scalajavatime",
// No, SBT, we don't want any artifacts for root.
// No, not even an empty jar.
// Invoking Cthulhu:
packageBin in Global := file(""),
packagedArtifacts := Map(),
publish := {},
publishLocal := {},
publishArtifact := false,
Keys.`package` := file(""))

/**
Expand Down
2 changes: 1 addition & 1 deletion docs/src/main/tut/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Both Scala 2.11 and Scala 2.12 (2.12.0-M6 and later) are supported.

To get started with SBT, add one (or both) of these dependencies:

- `libraryDependencies += "io.github.cquiroz" % "scala-java-time" % "2.0.0-M6"` (for Scala)
- `libraryDependencies += "io.github.cquiroz" %% "scala-java-time" % "2.0.0-M6"` (for Scala)
- `libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % "2.0.0-M6"` (for Scala.js, [Scala.js plugin](http://www.scala-js.org/tutorial/basic/#sbt-setup) required)

#### Building
Expand Down
7 changes: 7 additions & 0 deletions docs/src/main/tut/release_process.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
This are the steps to make a release

```bash
sbt
+publishSigned
sonatypeRelease
```
4 changes: 4 additions & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-M14-7")

addSbtPlugin("com.fortysevendeg" % "sbt-microsites" % "0.3.3")

addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "1.1")

addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0")

// Incompatible with 2.12.0-M5
// addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.3.5")
// addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.1.0")

0 comments on commit ec4f542

Please sign in to comment.