File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ jvm_maven_import_external(
171
171
name = "org_typelevel__cats_core" ,
172
172
artifact = scala_mvn_artifact (
173
173
"org.typelevel:cats-core:2.2.0" ,
174
- default_scala_major_version () ,
174
+ SCALA_MAJOR_VERSION ,
175
175
),
176
176
artifact_sha256 = "d7b6f800b50028c61ebed12763a100f31e900eb2f7a4af0d68f9aaaf19c24dc3" ,
177
177
server_urls = MAVEN_SERVER_URLS ,
Original file line number Diff line number Diff line change 1
1
load (
2
2
"//scala:scala_cross_version.bzl" ,
3
- "extract_major_version" ,
4
3
_default_maven_server_urls = "default_maven_server_urls" ,
5
4
)
6
5
load ("//third_party/repositories:repositories.bzl" , "repositories" )
6
+ load ("@io_bazel_rules_scala_config//:config.bzl" , "SCALA_MAJOR_VERSION" )
7
7
8
8
def scalafmt_default_config (path = ".scalafmt.conf" ):
9
9
build = []
@@ -40,7 +40,7 @@ def scalafmt_repositories(
40
40
"com_geirsson_metaconfig_core" ,
41
41
"com_geirsson_metaconfig_typesafe_config" ,
42
42
]
43
- if extract_major_version ( scala_version ) == "2.13" :
43
+ if SCALA_MAJOR_VERSION == "2.13" :
44
44
artifact_ids .append ("io_bazel_rules_scala_scala_parallel_collections" )
45
45
46
46
repositories (
You can’t perform that action at this time.
0 commit comments