@@ -7,7 +7,11 @@ name := """bitbucket-scala-client"""
7
7
8
8
scalaVersion := " 2.11.12"
9
9
10
- scalacOptions := Seq (" -deprecation" , " -feature" , " -unchecked" , " -Ywarn-adapted-args" , " -Xlint" )
10
+ scalacOptions := Seq (" -deprecation" ,
11
+ " -feature" ,
12
+ " -unchecked" ,
13
+ " -Ywarn-adapted-args" ,
14
+ " -Xlint" )
11
15
12
16
resolvers += " Typesafe maven repository" at " http://repo.typesafe.com/typesafe/maven-releases/"
13
17
@@ -18,9 +22,15 @@ libraryDependencies ++= Seq(
18
22
)
19
23
20
24
mimaPreviousArtifacts := {
21
- val latestVersion = JSON .parseFull(
22
- Source .fromURL(" https://api.github.com/repos/codacy/bitbucket-scala-client/releases/latest" ).mkString
23
- ).flatMap(_.asInstanceOf [Map [String , String ]].get(" tag_name" )).getOrElse(" 5.0.0" )
25
+ val latestVersion = JSON
26
+ .parseFull(
27
+ Source
28
+ .fromURL(
29
+ " https://api.github.com/repos/codacy/bitbucket-scala-client/releases/latest" )
30
+ .mkString
31
+ )
32
+ .flatMap(_.asInstanceOf [Map [String , String ]].get(" tag_name" ))
33
+ .getOrElse(" 5.0.0" )
24
34
Set (" com.codacy" %% " bitbucket-scala-client" % latestVersion)
25
35
}
26
36
mimaBinaryIssueFilters ++= ignoredABIProblems
@@ -40,22 +50,13 @@ description := "Bitbucket Scala Client"
40
50
41
51
homepage := Some (url(" https://github.com/codacy/bitbucket-scala-client.git" ))
42
52
43
- pomExtra :=
44
- <scm >
45
- <url >https:// github.com/ codacy/ bitbucket- scala- client.git</url >
46
- <connection >scm: git: git@ github.com: codacy/ bitbucket- scala- client.git</connection >
47
- <developerConnection >scm: git: https:// github.com/ codacy/ bitbucket- scala- client.git</developerConnection >
48
- </scm >
49
- <developers >
50
- <developer >
51
- <id >rtfpessoa</id >
52
- <name >Rodrigo </name >
53
- <email >rodrigo [at] codacy.com</email >
54
- <url >https:// github.com/ rtfpessoa</url >
55
- </developer >
56
- </developers >
57
-
58
- pgpPassphrase := Option (System .getenv(" SONATYPE_GPG_PASSPHRASE" )).map(_.toCharArray)
53
+ scmInfo := Some (
54
+ ScmInfo (url(" https://github.com/codacy/bitbucket-scala-client.git" ),
55
+ " scm:git:[email protected] :codacy/bitbucket-scala-client.git" )
56
+ )
57
+
58
+ pgpPassphrase := Option (System .getenv(" SONATYPE_GPG_PASSPHRASE" ))
59
+ .map(_.toCharArray)
59
60
60
61
resolvers ~= { _.filterNot(_.name.toLowerCase.contains(" codacy" )) }
61
62
0 commit comments