File tree Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 1
1
import Dependencies ._
2
2
3
+ import scala .io .Source
4
+ import scala .util .parsing .json .JSON
5
+
3
6
name := """ bitbucket-scala-client"""
4
7
5
8
version := " 1.9.0-SNAPSHOT"
@@ -18,6 +21,19 @@ libraryDependencies ++= Seq(
18
21
scalaTest
19
22
)
20
23
24
+ mimaPreviousArtifacts := {
25
+ val latestVersion = JSON .parseFull(
26
+ Source .fromURL(" https://api.github.com/repos/codacy/bitbucket-scala-client/releases/latest" ).mkString
27
+ ).flatMap(_.asInstanceOf [Map [String , String ]].get(" tag_name" )).getOrElse(" 5.0.0" )
28
+ Set (" com.codacy" %% " bitbucket-scala-client" % latestVersion)
29
+ }
30
+ mimaBinaryIssueFilters ++= ignoredABIProblems
31
+ val ignoredABIProblems = {
32
+ import com .typesafe .tools .mima .core ._
33
+ import com .typesafe .tools .mima .core .ProblemFilters ._
34
+ Seq ()
35
+ }
36
+
21
37
organization := " com.codacy"
22
38
23
39
organizationName := " Codacy"
Original file line number Diff line number Diff line change 1
1
machine :
2
2
java :
3
3
version : oraclejdk8
4
+
5
+ test :
6
+ pre :
7
+ - sbt mimaReportBinaryIssues
Original file line number Diff line number Diff line change @@ -12,3 +12,5 @@ resolvers ++= Seq(
12
12
addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 0.5.0" )
13
13
14
14
addSbtPlugin(" com.jsuereth" % " sbt-pgp" % " 1.0.0" )
15
+
16
+ addSbtPlugin(" com.typesafe" % " sbt-mima-plugin" % " 0.2.0" )
You can’t perform that action at this time.
0 commit comments