Skip to content

Commit c6a9f6f

Browse files
committed
Updated build to publish to bintray
1 parent b38f542 commit c6a9f6f

File tree

3 files changed

+19
-11
lines changed

3 files changed

+19
-11
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Cross-built for Scala 2.11/2.12
1010

1111
In your `build.sbt`
1212
```scala
13+
resolvers += Resolver.bintrayRepo("wolfendale", "maven")
14+
1315
libraryDependencies += "wolfendale" %% "scalacheck-gen-regexp" % "[VERSION]"
1416
```
1517

build.sbt

+16-11
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
1-
name := "scalacheck-gen-regexp"
1+
lazy val root = (project in file("."))
2+
.enablePlugins(BintrayPlugin)
3+
.settings(
4+
organization := "wolfendale",
5+
name := "scalacheck-gen-regexp",
6+
licenses += ("MIT", url("http://opensource.org/licenses/MIT")),
7+
homepage := Some(url("https://github.com/wolfendale/scalacheck-gen-regexp")),
8+
version := "0.1.0",
9+
crossScalaVersions := Seq("2.11.12", "2.12.4"),
10+
libraryDependencies ++= Seq(
11+
"org.scalacheck" %% "scalacheck" % "1.13.5" % "provided",
12+
"org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.6",
13+
"org.scalactic" %% "scalactic" % "3.0.4" % "test",
14+
"org.scalatest" %% "scalatest" % "3.0.4" % "test"
15+
)
16+
)
217

3-
version := "0.1"
4-
5-
crossScalaVersions := Seq("2.11.12", "2.12.4")
6-
7-
libraryDependencies ++= Seq(
8-
"org.scalacheck" %% "scalacheck" % "1.13.4" % "provided",
9-
"org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.6",
10-
"org.scalactic" %% "scalactic" % "3.0.4" % "test",
11-
"org.scalatest" %% "scalatest" % "3.0.4" % "test"
12-
)

project/plugins.sbt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
addSbtPlugin("org.foundweekends" % "sbt-bintray" % "0.5.2")

0 commit comments

Comments
 (0)