Skip to content

Commit

Permalink
0.3.0 (#5)
Browse files Browse the repository at this point in the history
* Change to SNAPSHOT version

Move deps out of Dependencies.scala

I did this because I think having important build information (i.e.
dependency info) right up front in build.sbt is preferrable to
scattering it around in various build files (at least until the project
is so large that build.sbt is becoming unwieldly)

* Fix build.sbt

* Add root aggregate project

* Root project depends on snake (for transitive dep)

* Fix root project name

* Remove SNAPSHOT version (until bintray lets me publish snapshots)

* Make licenses common across build

* More build.sbt changes to support publishing
  • Loading branch information
jeremyrsmith authored Nov 21, 2016
1 parent c8d3dce commit 2d745d9
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 23 deletions.
31 changes: 26 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,9 +1,28 @@
name := "circe-yaml-root"
name := "circe-yaml"
version in ThisBuild := "0.3.0"
organization in ThisBuild := "io.github.jeremyrsmith"
description in ThisBuild := "Library for converting between SnakeYAML's AST and circe's AST"
licenses in ThisBuild += ("Apache-2.0", url("https://www.apache.org/licenses/LICENSE-2.0.html"))

val Versions = new {
val circe = "0.6.1"
val discipline = "0.7.2"
val scalaCheck = "0.13.4"
val scalaTest = "3.0.0"
val snakeYaml = "1.17"
}

val Libraries = new {
val circeCore = "io.circe" %% "circe-core" % Versions.circe
val circeParser = "io.circe" %% "circe-parser" % Versions.circe
val circeTesting = "io.circe" %% "circe-testing" % Versions.circe
val discipline = "org.typelevel" %% "discipline" % Versions.discipline
val scalaCheck = "org.scalacheck" %% "scalacheck" % Versions.scalaCheck
val scalaTest = "org.scalatest" %% "scalatest" % Versions.scalaTest
val snakeYaml = "org.yaml" % "snakeyaml" % Versions.snakeYaml
}

val commonSettings = Seq(
version := "0.3.0",
scalaVersion := "2.11.8",
crossScalaVersions := Seq("2.10.6", "2.11.8"),

Expand All @@ -18,9 +37,7 @@ val commonSettings = Seq(
).map(_ % Test),

bintrayRepository := "maven",
bintrayVcsUrl := Some("https://github.com/jeremyrsmith/circe-yaml"),

licenses += ("Apache-2.0", url("https://www.apache.org/licenses/LICENSE-2.0.html"))
bintrayVcsUrl := Some("https://github.com/jeremyrsmith/circe-yaml")
)

lazy val snake = (project in file("snake"))
Expand All @@ -44,3 +61,7 @@ lazy val testing = (project in file("testing"))
Libraries.discipline
)
)

lazy val `circe-yaml` = (project in file (".")).settings(
commonSettings
) dependsOn (snake) //aggregate (snake)
18 changes: 0 additions & 18 deletions project/Dependencies.scala

This file was deleted.

0 comments on commit 2d745d9

Please sign in to comment.