Skip to content

Commit

Permalink
Prepare for 0.3.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
d6y committed Apr 18, 2017
1 parent 6ab41bb commit f3a9b19
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 26 deletions.
54 changes: 29 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,41 +13,25 @@ and [Dave Gurnell][davegurnell].
Copyright 2015-2017 [Underscore Consulting LLP][underscore].
Licensed [Apache 2][license].

## Versions

| Scala | Slick | Slickless |
|-------|----------|----------|
| 2.12 | 3.2 | [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.underscore/slickless_2.12/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.underscore/slickless_2.12) |
| 2.11 | 3.1 | [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.underscore/slickless_2.11/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.underscore/slickless_2.11) |

## Getting Started

Grab the code by adding the following to your `build.sbt`:

~~~
libraryDependencies ++= Seq(
"com.typesafe.slick" %% "slick" % "3.1.1",
"com.typesafe.slick" %% "slick" % "3.2.0",
"com.chuusai" %% "shapeless" % "2.3.1",
"io.underscore" %% "slickless" % "<<VERSION>>"
)
~~~

and for scala 2.12 for example

~~~
resolvers += "Maven Central" at "https://repo1.maven.org/maven2/"
resolvers += Resolver.sonatypeRepo("releases")
resolvers += Resolver.sonatypeRepo("snapshots")
libraryDependencies ++= Seq(
"com.typesafe.slick" %% "slick" % "3.2.0",
"com.chuusai" %% "shapeless" % "2.3.2",
"io.underscore" %% "slickless" % "0.3.1"
)
~~~


## Versions

| Scala | Slick | Slickless |
|-------|----------|----------|
| 2.12 | 3.2.0-M2 | [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.underscore/slickless_2.12/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.underscore/slickless_2.12) |
| 2.11 | 3.1 | [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.underscore/slickless_2.11/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.underscore/slickless_2.11) |

## Synopsis

Expand Down Expand Up @@ -93,14 +77,34 @@ lazy val users = TableQuery[Users]

## Notes

### Compile time

Due to this [issue](https://github.com/milessabin/shapeless/issues/619),
if you accidentally make a mapping which is incorrect,
the Scala compiler can take a huge amount of time to report an error.
If your slickless project is taking an insanely long amount of time to compile
(more than a couple of minutes),
try to make sure you have the mapping correct before using `<>`.

## Publishing
### Build example without default resolvers

If you need to add resolvers into your build, here's an example:

~~~
resolvers += "Maven Central" at "https://repo1.maven.org/maven2/"
resolvers += Resolver.sonatypeRepo("releases")
resolvers += Resolver.sonatypeRepo("snapshots")
libraryDependencies ++= Seq(
"com.typesafe.slick" %% "slick" % "3.2.0",
"com.chuusai" %% "shapeless" % "2.3.2",
"io.underscore" %% "slickless" % "0.3.1"
)
~~~

### Publishing

We use the [sbt-pgp plugin](http://www.scala-sbt.org/sbt-pgp/usage.html) and
the [sbt-sonatype plugin](https://github.com/xerial/sbt-sonatype)
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name := "slickless"
organization := "io.underscore"
version := "0.3.1"
version := "0.3.2"
scalaVersion := "2.12.1"

crossScalaVersions := Seq("2.11.8", "2.12.1")
Expand Down

0 comments on commit f3a9b19

Please sign in to comment.