1
- import coursier .mavenRepositoryString
2
1
import mill ._ , scalalib ._
3
2
4
- import scala .util .Properties
5
- import $file .utils , utils .isArmArchitecture
6
-
7
3
object Scala {
8
4
def scala212 = " 2.12.18"
9
5
def scala213 = " 2.13.12"
@@ -103,19 +99,25 @@ object Deps {
103
99
def ammonite = ivy " com.lihaoyi:::ammonite:3.0.0-M0-56-1bcbe7f6 "
104
100
def asm = ivy " org.ow2.asm:asm:9.6 "
105
101
// Force using of 2.13 - is there a better way?
106
- def bloopConfig = ivy " ch.epfl.scala:bloop-config_2.13:1.5.5 "
102
+ def bloopConfig = ivy " ch.epfl.scala:bloop-config_2.13:1.5.5 "
103
+ .exclude((" com.github.plokhotnyuk.jsoniter-scala" , " jsoniter-scala-core_2.13" ))
107
104
def bloopRifle = ivy " io.github.alexarchambault.bleep:bloop-rifle_2.13:1.5.11-sc-2 "
108
105
def bsp4j = ivy " ch.epfl.scala:bsp4j:2.1.0-M7 "
109
106
def caseApp = ivy " com.github.alexarchambault::case-app:2.1.0-M26 "
110
107
def collectionCompat = ivy " org.scala-lang.modules::scala-collection-compat:2.11.0 "
111
108
// Force using of 2.13 - is there a better way?
112
- def coursier = ivy " io.get-coursier:coursier_2.13: ${Versions .coursier}"
113
- def coursierJvm = ivy " io.get-coursier:coursier-jvm_2.13: ${Versions .coursier}"
114
- def coursierLauncher = ivy " io.get-coursier:coursier-launcher_2.13: ${Versions .coursier}"
109
+ def coursier = ivy " io.get-coursier:coursier_2.13: ${Versions .coursier}"
110
+ def coursierJvm = ivy " io.get-coursier:coursier-jvm_2.13: ${Versions .coursier}"
111
+ .exclude((" com.github.plokhotnyuk.jsoniter-scala" , " jsoniter-scala-core_2.13" ))
112
+ def coursierLauncher = ivy " io.get-coursier:coursier-launcher_2.13: ${Versions .coursier}"
113
+ .exclude((" ai.kien" , " python-native-libs_2.13" ))
114
+ .exclude((" org.scala-lang.modules" , " scala-collection-compat_2.13" ))
115
115
def coursierProxySetup = ivy " io.get-coursier:coursier-proxy-setup: ${Versions .coursier}"
116
- def coursierPublish = ivy " io.get-coursier.publish:publish_2.13:0.1.6 "
117
- def dependency = ivy " io.get-coursier::dependency:0.2.3 "
118
- def dockerClient = ivy " com.spotify:docker-client:8.16.0 "
116
+ def coursierPublish = ivy " io.get-coursier.publish:publish_2.13:0.1.6 "
117
+ .exclude((" org.scala-lang.modules" , " scala-collection-compat_2.13" ))
118
+ .exclude((" com.github.plokhotnyuk.jsoniter-scala" , " jsoniter-scala-core_2.13" ))
119
+ def dependency = ivy " io.get-coursier::dependency:0.2.3 "
120
+ def dockerClient = ivy " com.spotify:docker-client:8.16.0 "
119
121
// TODO bump once 0.15.5 is out
120
122
def expecty = ivy " com.eed3si9n.expecty::expecty:0.16.0 "
121
123
def fansi = ivy " com.lihaoyi::fansi:0.4.0 "
@@ -159,7 +161,9 @@ object Deps {
159
161
// Force using of 2.13 - is there a better way?
160
162
def scalaJsTestAdapter = ivy " org.scala-js:scalajs-sbt-test-adapter_2.13: ${Scala .scalaJs}"
161
163
// Force using of 2.13 - is there a better way?
162
- def scalametaTrees = ivy " org.scalameta:trees_2.13: ${Versions .scalaMeta}"
164
+ def scalametaTrees = ivy " org.scalameta:trees_2.13: ${Versions .scalaMeta}"
165
+ .exclude((" com.lihaoyi" , " sourcecode_2.13" ))
166
+ .exclude((" org.scala-lang.modules" , " scala-collection-compat_2.13" ))
163
167
def scalaPackager = ivy " org.virtuslab:scala-packager_2.13: ${Versions .scalaPackager}"
164
168
def scalaPackagerCli = ivy " org.virtuslab:scala-packager-cli_2.13: ${Versions .scalaPackager}"
165
169
def scalaPy = ivy " dev.scalapy::scalapy-core::0.5.3 "
@@ -178,6 +182,8 @@ object Deps {
178
182
.exclude((" com.github.alexarchambault" , " case-app_3" ))
179
183
.exclude((" com.github.plokhotnyuk.jsoniter-scala" , " jsoniter-scala-core_3" ))
180
184
.exclude((" com.github.plokhotnyuk.jsoniter-scala" , " jsoniter-scala-macros_3" ))
185
+ .exclude((" com.github.plokhotnyuk.jsoniter-scala" , " jsoniter-scala-core_2.13" ))
186
+ .exclude((" org.scala-lang.modules" , " scala-collection-compat_2.13" ))
181
187
def slf4jNop = ivy " org.slf4j:slf4j-nop:2.0.9 "
182
188
def sttp = ivy " com.softwaremill.sttp.client3:core_2.13:3.9.1 "
183
189
def svm = ivy " org.graalvm.nativeimage:svm: $graalVmVersion"
0 commit comments