@@ -7,7 +7,7 @@ val currentScalaVersion = "2.13.8"
7
7
inThisBuild(
8
8
Seq (
9
9
scalaVersion := currentScalaVersion,
10
- // Load version from the file so that Gradle/Shipkit and SBT use the same version
10
+ // Load version from the file so that Gradle/Shipkit and SBT use the same version
11
11
version := sys.env
12
12
.get(" PROJECT_VERSION" )
13
13
.filter(_.trim.nonEmpty)
@@ -25,9 +25,9 @@ inThisBuild(
25
25
lazy val commonSettings =
26
26
Seq (
27
27
organization := " org.mockito" ,
28
- // Load version from the file so that Gradle/Shipkit and SBT use the same version
28
+ // Load version from the file so that Gradle/Shipkit and SBT use the same version
29
29
crossScalaVersions := Seq (currentScalaVersion, " 2.12.15" , " 2.11.12" ),
30
- scalafmtOnCompile := true ,
30
+ scalafmtOnCompile := true ,
31
31
scalacOptions ++= Seq (
32
32
" -unchecked" ,
33
33
" -feature" ,
@@ -81,14 +81,14 @@ lazy val publishSettings = Seq(
81
81
)
82
82
83
83
lazy val noPublishingSettings = Seq (
84
- publish := {},
85
- publishLocal := {},
84
+ publish := {},
85
+ publishLocal := {},
86
86
publishArtifact := false
87
87
)
88
88
89
89
lazy val noCrossBuildSettings = Seq (
90
90
crossScalaVersions := Nil ,
91
- publish / skip := true
91
+ publish / skip := true
92
92
)
93
93
94
94
lazy val scalatest = (project in file(" scalatest" ))
@@ -149,7 +149,7 @@ lazy val common = (project in file("common"))
149
149
commonSettings,
150
150
noPublishingSettings,
151
151
libraryDependencies ++= Dependencies .commonLibraries ++
152
- Dependencies .scalaReflection.value ++ Seq (
152
+ Dependencies .scalaReflection.value ++ Seq (
153
153
Dependencies .catsLaws.value % " test" ,
154
154
Dependencies .scalacheck.value % " test"
155
155
)
@@ -164,7 +164,7 @@ lazy val core = (project in file("core"))
164
164
name := " mockito-scala" ,
165
165
libraryDependencies ++= Dependencies .commonLibraries,
166
166
libraryDependencies ++= Dependencies .scalaReflection.value,
167
- // TODO remove when we remove the deprecated classes in org.mockito.integrations.Dependencies.scalatest
167
+ // TODO remove when we remove the deprecated classes in org.mockito.integrations.Dependencies.scalatest
168
168
libraryDependencies += Dependencies .scalatest % " provided" ,
169
169
// include the macro classes and resources in the main jar
170
170
Compile / packageBin / mappings ++= (macroSub / Compile / packageBin / mappings).value,
@@ -187,8 +187,8 @@ lazy val macroSub = (project in file("macro"))
187
187
noPublishingSettings,
188
188
libraryDependencies ++= Dependencies .commonLibraries,
189
189
libraryDependencies ++= Dependencies .scalaReflection.value,
190
- publish := {},
191
- publishLocal := {},
190
+ publish := {},
191
+ publishLocal := {},
192
192
publishArtifact := false
193
193
)
194
194
@@ -197,8 +197,8 @@ lazy val macroCommon = (project in file("macro-common"))
197
197
commonSettings,
198
198
noPublishingSettings,
199
199
libraryDependencies ++= Dependencies .scalaReflection.value,
200
- publish := {},
201
- publishLocal := {},
200
+ publish := {},
201
+ publishLocal := {},
202
202
publishArtifact := false
203
203
)
204
204
0 commit comments