1
1
import sbtcrossproject .CrossPlugin .autoImport .crossProject
2
- import _root_ .io .github .davidgregory084 .TpolecatPlugin .autoImport ._
2
+ import _root_ .org .typelevel .sbt .tpolecat .TpolecatPlugin .autoImport ._
3
+ import _root_ .org .typelevel .scalacoptions .ScalacOptions
3
4
4
- lazy val scalaVersion212 = " 2.12.17 "
5
- lazy val scalaVersion213 = " 2.13.10 "
6
- lazy val scalaVersion3 = " 3.2.1 "
5
+ lazy val scalaVersion212 = " 2.12.19 "
6
+ lazy val scalaVersion213 = " 2.13.13 "
7
+ lazy val scalaVersion3 = " 3.3.3 "
7
8
lazy val scalaVersions = List (scalaVersion212, scalaVersion213, scalaVersion3)
8
9
9
10
inThisBuild(
@@ -35,11 +36,11 @@ inThisBuild(
35
36
)
36
37
)
37
38
38
- val catsVersion = " 2.9 .0"
39
- val catsEffectVersion = " 3.4.2 "
40
- val catsMtlVersion = " 1.3 .0"
41
- val scalatestVersion = " 3.2.14 "
42
- val scalaTestPlusVersion = " 3.2.14 .0"
39
+ val catsVersion = " 2.10 .0"
40
+ val catsEffectVersion = " 3.5.4 "
41
+ val catsMtlVersion = " 1.4 .0"
42
+ val scalatestVersion = " 3.2.18 "
43
+ val scalaTestPlusVersion = " 3.2.18 .0"
43
44
val scalacheckVersion = " 1.17.0"
44
45
val disciplineVersion = " 2.2.0"
45
46
@@ -60,7 +61,8 @@ val core = crossProject(JVMPlatform, JSPlatform)
60
61
mimaPreviousArtifacts := Set (
61
62
" com.github.cb372" %%% " cats-retry" % " 3.1.0"
62
63
),
63
- tpolecatExcludeOptions += ScalacOptions .lintPackageObjectClasses
64
+ tpolecatExcludeOptions += ScalacOptions .lintPackageObjectClasses,
65
+ Test / tpolecatExcludeOptions += ScalacOptions .warnNonUnitStatement
64
66
)
65
67
.jsSettings(
66
68
// work around https://github.com/typelevel/sbt-tpolecat/issues/102
@@ -86,7 +88,8 @@ val alleycatsRetry = crossProject(JVMPlatform, JSPlatform)
86
88
),
87
89
mimaPreviousArtifacts := Set (
88
90
" com.github.cb372" %%% " alleycats-retry" % " 3.1.0"
89
- )
91
+ ),
92
+ Test / tpolecatExcludeOptions += ScalacOptions .warnNonUnitStatement
90
93
)
91
94
.jsSettings(
92
95
tpolecatScalacOptions += ScalacOptions
@@ -109,7 +112,8 @@ val mtlRetry = crossProject(JVMPlatform, JSPlatform)
109
112
mimaPreviousArtifacts := Set (
110
113
" com.github.cb372" %%% " cats-retry-mtl" % " 3.1.0"
111
114
),
112
- tpolecatExcludeOptions += ScalacOptions .lintPackageObjectClasses
115
+ tpolecatExcludeOptions += ScalacOptions .lintPackageObjectClasses,
116
+ Test / tpolecatExcludeOptions += ScalacOptions .warnNonUnitStatement
113
117
)
114
118
.jsSettings(
115
119
// work around https://github.com/typelevel/sbt-tpolecat/issues/102
@@ -125,9 +129,10 @@ val docs = project
125
129
.enablePlugins(MicrositesPlugin , BuildInfoPlugin )
126
130
.settings(
127
131
addCompilerPlugin(
128
- " org.typelevel" %% " kind-projector" % " 0.13.2 " cross CrossVersion .full
132
+ " org.typelevel" %% " kind-projector" % " 0.13.3 " cross CrossVersion .full
129
133
),
130
134
tpolecatExcludeOptions ++= ScalacOptions .warnUnusedOptions,
135
+ tpolecatExcludeOptions += ScalacOptions .warnNonUnitStatement,
131
136
crossScalaVersions := Nil ,
132
137
buildInfoPackage := " retry" ,
133
138
publishArtifact := false ,
0 commit comments