|
1 | | -organization := "org.fluentd" |
| 1 | +import ReleaseTransformations._ |
2 | 2 |
|
| 3 | +organization := "org.fluentd" |
3 | 4 | name := "fluent-logger-scala" |
4 | 5 |
|
5 | | -version := "0.6.1-SNAPSHOT" |
6 | | - |
7 | 6 | publishMavenStyle := true |
8 | | - |
9 | | -scalaVersion := "2.11.8" |
10 | | - |
11 | | -crossScalaVersions := Seq("2.10.6", scalaVersion.value) |
12 | | - |
13 | | -resolvers ++= Seq( |
14 | | - "Sonatype Repository" at "http://oss.sonatype.org/content/repositories/releases" |
15 | | -) |
16 | | - |
| 7 | +scalaVersion := "2.12.1" |
| 8 | +crossScalaVersions := Seq("2.11.8", scalaVersion.value) |
17 | 9 | scalacOptions ++= Seq("-deprecation", "-feature", "-language:implicitConversions") |
18 | | - |
19 | 10 | logBuffered in Test := false |
20 | | - |
21 | 11 | libraryDependencies ++= Seq( |
22 | 12 | "org.fluentd" % "fluent-logger" % "0.3.2", |
23 | | - "org.json4s" %% "json4s-native" % "3.4.0", |
| 13 | + "org.json4s" %% "json4s-native" % "3.5.0", |
24 | 14 | "junit" % "junit" % "4.12" % Test, |
25 | | - "org.xerial" % "fluentd-standalone" % "0.1.2" % Test, |
26 | | - "org.scalatest" %% "scalatest" % "3.0.0" % Test |
| 15 | + "org.xerial" %% "fluentd-standalone" % "0.14.11" % Test, |
| 16 | + "org.scalatest" %% "scalatest" % "3.0.1" % Test |
| 17 | +) |
| 18 | + |
| 19 | +// Release settings |
| 20 | +releaseTagName := { (version in ThisBuild).value } |
| 21 | +releaseProcess := Seq[ReleaseStep]( |
| 22 | + checkSnapshotDependencies, |
| 23 | + inquireVersions, |
| 24 | + runClean, |
| 25 | + runTest, |
| 26 | + setReleaseVersion, |
| 27 | + commitReleaseVersion, |
| 28 | + tagRelease, |
| 29 | + ReleaseStep(action = Command.process("publishSigned", _), enableCrossBuild = true), |
| 30 | + setNextVersion, |
| 31 | + commitNextVersion, |
| 32 | + ReleaseStep(action = Command.process("sonatypeReleaseAll", _), enableCrossBuild = true), |
| 33 | + pushChanges |
27 | 34 | ) |
| 35 | +releaseCrossBuild := true |
28 | 36 |
|
29 | 37 | pomExtra := ( |
30 | 38 | <url>https://github.com/fluent/fluent-logger-scala</url> |
|
0 commit comments