File tree Expand file tree Collapse file tree 4 files changed +24
-2
lines changed Expand file tree Collapse file tree 4 files changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ This library is meant to support Codacy when interacting with Bitbucket.
11
11
12
12
Import on SBT:
13
13
14
- "com.codacy" %% "bitbucket-scala-client" % "2.1.0 "
14
+ "com.codacy" %% "bitbucket-scala-client" % "<VERSION> "
15
15
16
16
### Creators
17
17
Original file line number Diff line number Diff line change
1
+ import Dependencies ._
2
+
3
+ import scala .io .Source
4
+ import scala .util .parsing .json .JSON
5
+
1
6
name := """ bitbucket-scala-client"""
2
7
3
8
version := " 1.9.0-SNAPSHOT"
4
9
5
- scalaVersion := " 2.11.12 "
10
+ scalaVersion := " 2.12.6 "
6
11
7
12
crossScalaVersions := Seq (" 2.11.12" , " 2.12.6" )
8
13
@@ -23,6 +28,19 @@ libraryDependencies ++= Seq(
23
28
Dependencies .scalaTest
24
29
)
25
30
31
+ mimaPreviousArtifacts := {
32
+ val latestVersion = JSON .parseFull(
33
+ Source .fromURL(" https://api.github.com/repos/codacy/bitbucket-scala-client/releases/latest" ).mkString
34
+ ).flatMap(_.asInstanceOf [Map [String , String ]].get(" tag_name" )).getOrElse(" 5.0.0" )
35
+ Set (" com.codacy" %% " bitbucket-scala-client" % latestVersion)
36
+ }
37
+ mimaBinaryIssueFilters ++= ignoredABIProblems
38
+ val ignoredABIProblems = {
39
+ import com .typesafe .tools .mima .core ._
40
+ import com .typesafe .tools .mima .core .ProblemFilters ._
41
+ Seq ()
42
+ }
43
+
26
44
organization := " com.codacy"
27
45
28
46
organizationName := " Codacy"
Original file line number Diff line number Diff line change 5
5
version : oraclejdk8
6
6
7
7
test :
8
+ pre :
9
+ - sbt mimaReportBinaryIssues
8
10
override :
9
11
- sbt +test
Original file line number Diff line number Diff line change @@ -12,3 +12,5 @@ resolvers ++= Seq(
12
12
addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 2.3" )
13
13
14
14
addSbtPlugin(" com.jsuereth" % " sbt-pgp" % " 1.1.1" )
15
+
16
+ addSbtPlugin(" com.typesafe" % " sbt-mima-plugin" % " 0.2.0" )
You can’t perform that action at this time.
0 commit comments