Skip to content

Commit f3a9b19

Browse files
committed
Prepare for 0.3.2 release
1 parent 6ab41bb commit f3a9b19

File tree

2 files changed

+30
-26
lines changed

2 files changed

+30
-26
lines changed

README.md

Lines changed: 29 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -13,41 +13,25 @@ and [Dave Gurnell][davegurnell].
1313
Copyright 2015-2017 [Underscore Consulting LLP][underscore].
1414
Licensed [Apache 2][license].
1515

16+
## Versions
17+
18+
| Scala | Slick | Slickless |
19+
|-------|----------|----------|
20+
| 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) |
21+
| 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) |
22+
1623
## Getting Started
1724

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

2027
~~~
2128
libraryDependencies ++= Seq(
22-
"com.typesafe.slick" %% "slick" % "3.1.1",
29+
"com.typesafe.slick" %% "slick" % "3.2.0",
2330
"com.chuusai" %% "shapeless" % "2.3.1",
2431
"io.underscore" %% "slickless" % "<<VERSION>>"
2532
)
2633
~~~
2734

28-
and for scala 2.12 for example
29-
30-
~~~
31-
resolvers += "Maven Central" at "https://repo1.maven.org/maven2/"
32-
33-
resolvers += Resolver.sonatypeRepo("releases")
34-
35-
resolvers += Resolver.sonatypeRepo("snapshots")
36-
37-
libraryDependencies ++= Seq(
38-
"com.typesafe.slick" %% "slick" % "3.2.0",
39-
"com.chuusai" %% "shapeless" % "2.3.2",
40-
"io.underscore" %% "slickless" % "0.3.1"
41-
)
42-
~~~
43-
44-
45-
## Versions
46-
47-
| Scala | Slick | Slickless |
48-
|-------|----------|----------|
49-
| 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) |
50-
| 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) |
5135

5236
## Synopsis
5337

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

9478
## Notes
9579

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

103-
## Publishing
89+
### Build example without default resolvers
90+
91+
If you need to add resolvers into your build, here's an example:
92+
93+
~~~
94+
resolvers += "Maven Central" at "https://repo1.maven.org/maven2/"
95+
96+
resolvers += Resolver.sonatypeRepo("releases")
97+
98+
resolvers += Resolver.sonatypeRepo("snapshots")
99+
100+
libraryDependencies ++= Seq(
101+
"com.typesafe.slick" %% "slick" % "3.2.0",
102+
"com.chuusai" %% "shapeless" % "2.3.2",
103+
"io.underscore" %% "slickless" % "0.3.1"
104+
)
105+
~~~
106+
107+
### Publishing
104108

105109
We use the [sbt-pgp plugin](http://www.scala-sbt.org/sbt-pgp/usage.html) and
106110
the [sbt-sonatype plugin](https://github.com/xerial/sbt-sonatype)

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name := "slickless"
22
organization := "io.underscore"
3-
version := "0.3.1"
3+
version := "0.3.2"
44
scalaVersion := "2.12.1"
55

66
crossScalaVersions := Seq("2.11.8", "2.12.1")

0 commit comments

Comments
 (0)