1
1
import mill .define .Target
2
2
import mill .util .Jvm
3
3
import $ivy .`com.lihaoyi::mill-contrib-bloop:$MILL_VERSION`
4
- import $ivy .`io.github.davidgregory084::mill-tpolecat::0.3.2 `
4
+ import $ivy .`io.github.davidgregory084::mill-tpolecat::0.3.5 `
5
5
import $ivy .`io.chris-kipp::mill-ci-release::0.1.9`
6
6
7
7
import os .Path
@@ -15,15 +15,15 @@ import io.github.davidgregory084._
15
15
import io .kipp .mill .ci .release .CiReleaseModule
16
16
17
17
object versions {
18
- val scala212Version = " 2.12.16 "
18
+ val scala212Version = " 2.12.1 "
19
19
val scala213Version = " 2.13.11"
20
- val scala3Version = " 3.1.2 "
21
- val scalaJSVersion = " 1.10.1 "
22
- val scalaNativeVersion = " 0.4.11 "
23
- val munitVersion = " 0.7.29 "
24
- val munitNativeVersion = " 1.0.0-M7 "
25
- val fs2 = " 3.3.0 "
26
- val weaver = " 0.8 .0"
20
+ val scala3Version = " 3.3.3 "
21
+ val scalaJSVersion = " 1.14.0 "
22
+ val scalaNativeVersion = " 0.4.17 "
23
+ val munitVersion = " 1.0.0-M9 "
24
+ val fs2Version = " 3.10.0 "
25
+ val weaverVersion = " 0.8.3 "
26
+ val jsoniterVersion = " 2.17 .0"
27
27
28
28
val scala213 = " 2.13"
29
29
val scala212 = " 2.12"
@@ -40,7 +40,7 @@ import versions._
40
40
object core extends RPCCrossPlatformModule { cross =>
41
41
42
42
def crossPlatformIvyDeps : T [Agg [Dep ]] = Agg (
43
- ivy " com.github.plokhotnyuk.jsoniter-scala::jsoniter-scala-macros::2.17.0 "
43
+ ivy " com.github.plokhotnyuk.jsoniter-scala::jsoniter-scala-macros:: ${jsoniterVersion} "
44
44
)
45
45
46
46
object jvm extends mill.Cross [JvmModule ](scala213, scala3)
@@ -63,7 +63,7 @@ object fs2 extends RPCCrossPlatformModule { cross =>
63
63
64
64
override def crossPlatformModuleDeps = Seq (core)
65
65
def crossPlatformIvyDeps : T [Agg [Dep ]] = Agg (
66
- ivy " co.fs2::fs2-core:: ${versions.fs2 }"
66
+ ivy " co.fs2::fs2-core:: ${fs2Version }"
67
67
)
68
68
69
69
object jvm extends mill.Cross [JvmModule ](scala213, scala3)
@@ -86,13 +86,13 @@ object fs2 extends RPCCrossPlatformModule { cross =>
86
86
object examples extends mill.define.Module {
87
87
88
88
object server extends ScalaModule {
89
- def ivyDeps = Agg (ivy " co.fs2::fs2-io: ${versions.fs2 }" )
89
+ def ivyDeps = Agg (ivy " co.fs2::fs2-io: ${fs2Version }" )
90
90
def moduleDeps = Seq (fs2.jvm(versions.scala213))
91
91
def scalaVersion = versions.scala213Version
92
92
}
93
93
94
94
object client extends ScalaModule {
95
- def ivyDeps = Agg (ivy " co.fs2::fs2-io: ${versions.fs2} " )
95
+ def ivyDeps = Agg (ivy " co.fs2::fs2-io: $fs2Version " )
96
96
def moduleDeps = Seq (fs2.jvm(versions.scala213))
97
97
def scalaVersion = versions.scala213Version
98
98
def forkEnv : Target [Map [String , String ]] = T {
@@ -118,7 +118,7 @@ trait RPCCrossPlatformModule extends Module { shared =>
118
118
override def platformLabel : String = " jvm"
119
119
120
120
trait WeaverTests extends Tests {
121
- def ivyDeps = super .ivyDeps() ++ Agg (ivy " com.disneystreaming::weaver-cats:: $weaver " )
121
+ def ivyDeps = super .ivyDeps() ++ Agg (ivy " com.disneystreaming::weaver-cats:: $weaverVersion " )
122
122
def testFramework = " weaver.framework.CatsEffect"
123
123
}
124
124
@@ -144,7 +144,7 @@ trait RPCCrossPlatformModule extends Module { shared =>
144
144
override def skipIdea = true
145
145
146
146
trait WeaverTests extends Tests {
147
- def ivyDeps = super .ivyDeps() ++ Agg (ivy " com.disneystreaming::weaver-cats:: $weaver " )
147
+ def ivyDeps = super .ivyDeps() ++ Agg (ivy " com.disneystreaming::weaver-cats:: $weaverVersion " )
148
148
def testFramework = " weaver.framework.CatsEffect"
149
149
}
150
150
@@ -180,12 +180,12 @@ trait RPCCrossPlatformModule extends Module { shared =>
180
180
override def skipBloop = true
181
181
182
182
trait WeaverTests extends Tests {
183
- def ivyDeps = super .ivyDeps() ++ Agg (ivy " com.disneystreaming::weaver-cats:: $weaver " )
183
+ def ivyDeps = super .ivyDeps() ++ Agg (ivy " com.disneystreaming::weaver-cats:: $weaverVersion " )
184
184
def testFramework = " weaver.framework.CatsEffect"
185
185
}
186
186
187
187
trait MunitTests extends Tests with TestModule .Munit {
188
- def ivyDeps = super .ivyDeps() ++ Agg (ivy " org.scalameta::munit:: $munitNativeVersion " )
188
+ def ivyDeps = super .ivyDeps() ++ Agg (ivy " org.scalameta::munit:: $munitVersion " )
189
189
}
190
190
191
191
trait Tests extends super .Tests with mill.contrib.Bloop .Module {
0 commit comments