@@ -2,6 +2,8 @@ import com.typesafe.sbt.packager.docker.Cmd
2
2
3
3
import com .typesafe .sbt .packager .docker .ExecCmd
4
4
5
+ Global / onChangedBuildSource := ReloadOnSourceChanges
6
+
5
7
inThisBuild(
6
8
List (
7
9
organization := " io.pg" ,
@@ -22,9 +24,9 @@ inThisBuild(
22
24
23
25
val GraalVM11 = " [email protected] "
24
26
25
- val Scala213 = " 2.13.6 "
26
- ThisBuild / scalaVersion := Scala213
27
- ThisBuild / crossScalaVersions := Seq (Scala213 )
27
+ val Scala3 = " 3.1.1 "
28
+ ThisBuild / scalaVersion := Scala3
29
+ ThisBuild / crossScalaVersions := Seq (Scala3 )
28
30
ThisBuild / githubWorkflowJavaVersions := Seq (GraalVM11 )
29
31
30
32
ThisBuild / githubWorkflowPublishTargetBranches := Seq (
@@ -67,23 +69,18 @@ def crossPlugin(x: sbt.librarymanagement.ModuleID) =
67
69
compilerPlugin(x.cross(CrossVersion .full))
68
70
69
71
val compilerPlugins = List (
70
- crossPlugin(" org.typelevel" % " kind-projector" % " 0.13.2" ),
71
- crossPlugin(" com.github.cb372" % " scala-typed-holes" % " 0.1.11" ),
72
- crossPlugin(" org.polyvariant" % " better-tostring" % " 0.3.15" ),
73
- compilerPlugin(" com.olegpy" %% " better-monadic-for" % " 0.3.1" )
72
+ crossPlugin(" org.polyvariant" % " better-tostring" % " 0.3.15" )
74
73
)
75
74
76
75
val commonSettings = List (
77
76
scalacOptions --= List (" -Xfatal-warnings" ),
78
- scalacOptions += " -Ymacro-annotations" ,
79
77
libraryDependencies ++= List (
80
78
" org.typelevel" %% " cats-core" % " 2.7.0" ,
81
79
" org.typelevel" %% " cats-effect" % " 3.3.12" ,
82
- " org.typelevel" %% " cats-tagless-macros" % " 0.14.0" ,
83
80
" co.fs2" %% " fs2-core" % " 3.2.7" ,
84
81
" com.github.valskalla" %% " odin-core" % " 0.13.0" ,
85
- " io.circe" %% " circe-core" % " 0.14.1 " ,
86
- " dev.optics" %% " monocle-macro " % " 3.1.0" ,
82
+ " io.circe" %% " circe-core" % " 0.14.2 " ,
83
+ " dev.optics" %% " monocle-core " % " 3.1.0" ,
87
84
" com.disneystreaming" %% " weaver-cats" % " 0.7.11" % Test ,
88
85
" com.disneystreaming" %% " weaver-scalacheck" % " 0.7.11" % Test
89
86
) ++ compilerPlugins,
@@ -97,9 +94,8 @@ lazy val gitlab = project
97
94
libraryDependencies ++= List (
98
95
" is.cir" %% " ciris" % " 2.3.2" ,
99
96
" com.kubukoz" %% " caliban-gitlab" % " 0.1.0" ,
100
- " io.circe" %% " circe-generic-extras" % " 0.14.1" ,
101
- " io.circe" %% " circe-parser" % " 0.14.1" % Test ,
102
- " io.circe" %% " circe-literal" % " 0.14.1" % Test ,
97
+ " io.circe" %% " circe-parser" % " 0.14.2" % Test ,
98
+ " io.circe" %% " circe-literal" % " 0.14.2" % Test ,
103
99
" com.softwaremill.sttp.tapir" %% " tapir-core" % " 0.18.0-M17" ,
104
100
" com.softwaremill.sttp.tapir" %% " tapir-json-circe" % " 0.18.0-M17" ,
105
101
" com.softwaremill.sttp.tapir" %% " tapir-sttp-client" % " 0.18.0-M17"
@@ -109,18 +105,17 @@ lazy val gitlab = project
109
105
110
106
lazy val bootstrap = project
111
107
.settings(
112
- scalaVersion := " 3.0.0 " ,
108
+ scalaVersion := Scala3 ,
113
109
libraryDependencies ++= List (
114
110
" org.typelevel" %% " cats-core" % " 2.7.0" ,
115
111
" org.typelevel" %% " cats-effect" % " 3.3.12" ,
116
112
" com.kubukoz" %% " caliban-gitlab" % " 0.1.0" ,
117
113
" com.softwaremill.sttp.client3" %% " core" % " 3.3.15" ,
118
114
" com.softwaremill.sttp.client3" %% " circe" % " 3.3.15" ,
119
- " io.circe" %% " circe-core" % " 0.14.1 " ,
115
+ " io.circe" %% " circe-core" % " 0.14.2 " ,
120
116
crossPlugin(" org.polyvariant" % " better-tostring" % " 0.3.15" )
121
117
),
122
118
publish / skip := true ,
123
- // Compile / mainClass := Some("org.polyvariant.Main"),
124
119
githubWorkflowArtifactUpload := false ,
125
120
nativeImageVersion := " 22.1.0" ,
126
121
nativeImageOptions ++= Seq (
@@ -195,12 +190,11 @@ lazy val pitgull =
195
190
" org.http4s" %% " http4s-blaze-server" % " 0.23.11" ,
196
191
" org.http4s" %% " http4s-blaze-client" % " 0.23.11" ,
197
192
" is.cir" %% " ciris" % " 2.3.2" ,
198
- " io.circe" %% " circe-generic-extras" % " 0.14.0" ,
199
- " io.scalaland" %% " chimney" % " 0.6.1" ,
200
193
" io.chrisdavenport" %% " cats-time" % " 0.4.0" ,
201
194
" com.github.valskalla" %% " odin-core" % " 0.13.0" ,
202
195
" com.github.valskalla" %% " odin-slf4j" % " 0.13.0" ,
203
- " io.github.vigoo" %% " prox-fs2-3" % " 0.7.7"
196
+ " io.github.vigoo" %% " prox-fs2-3" % " 0.7.7" ,
197
+ " io.circe" %% " circe-literal" % " 0.14.2" % Test
204
198
)
205
199
)
206
200
.dependsOn(core, gitlab)
0 commit comments