-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* maven_dependencies added to WORKSPACE * io_bazel_rules_scala to rules_scala3 * zinc_3_3_migration to zinc_3_migration * Dependencies.scala added * 3rdparty BUILD files modified * get rid of @annex_test * workspace.bzl modified * deps BUILD file mofified * binary tests fixed * compat tests fixed (almost) * compile/logger tests fixed * compile/srcjar tests fixed * compile/xml tests fixed * compile/logger tests fixed * /dependencies tests fixed * /deployjar tests fixed * plugins/kind-projector tests fixed * plugins/outputs tests fixed * /providers tests fixed * repl/simple tests fixed * /resources tests fixed * scala/scalaimport tests fixed * /scala3 tests fixed * strategy/worker_extra_flag tests fixed * /tagging tests fixed * munit updated * compile/log_level deleted (no need) * neverlink tests fixed * compile/error tests fixed * scala_deps.bzl edited * WORKSPACE edited * scalacopts/rule test fixed * format/scalafmt tests fixed * plugins/classpath tests fixed * test-frameworks/munit/test fixed * test-frameworks/munit/test fixed * WORKSPACE * WORKSPACE --------- Co-authored-by: anna-skrodzka <annaskrod@h=gmail.com>
- Loading branch information
1 parent
69bf649
commit 52c4c8b
Showing
95 changed files
with
4,319 additions
and
5,137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
version = 3.6.1 | ||
maxColumn = 150 | ||
assumeStandardLibraryStripMargin = true | ||
continuationIndent.callSite = 2 | ||
includeCurlyBraceInSelectChains = true | ||
# includeNoParensInSelectChains = true | ||
binPack.literalArgumentLists = false | ||
rewrite.rules = [AvoidInfix, SortImports, SortModifiers, RedundantParens, PreferCurlyFors] # RedundantBraces | ||
|
||
runner.dialect = scala3 | ||
rewrite.scala3 { | ||
convertToNewSyntax = true | ||
removeOptionalBraces = true | ||
} | ||
|
||
project { | ||
git = true | ||
excludePaths = [ | ||
"glob:**/tests/scala3/compiler/scala3-example-project/**.scala", | ||
"glob:**/tests/scala3/scala2-interop/Scala2.scala" | ||
] | ||
} | ||
|
||
newlines { | ||
beforeCurlyLambdaParams = false | ||
implicitParamListModifierPrefer = before | ||
} | ||
|
||
align = none | ||
align { | ||
preset = none | ||
stripMargin = true | ||
openParenCallSite = false | ||
openParenDefnSite = false | ||
tokens = [ | ||
"%", "%%", "%%%", ":=", "~=", "=>" | ||
] | ||
} | ||
# optIn.breakChainOnFirstMethodDot = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
load("@rules_scala3//rules:scala.bzl", "scala_import") | ||
scala_import( | ||
name = "shapeless", | ||
jars = [ | ||
"//external:jar/com/chuusai/shapeless_2_13" | ||
], | ||
runtime_deps = [ | ||
"//3rdparty/jvm/org/scala_lang:scala_library" | ||
], | ||
visibility = [ | ||
"//visibility:public" | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
load("@rules_scala3//rules:scala.bzl", "scala_import") | ||
scala_import( | ||
name = "shaded_jawn_parser", | ||
jars = [ | ||
"//external:jar/com/eed3si9n/shaded_jawn_parser_3" | ||
], | ||
runtime_deps = [ | ||
"//3rdparty/jvm/org/scala_lang:scala3_library" | ||
], | ||
visibility = [ | ||
"//3rdparty/jvm:__subpackages__" | ||
] | ||
) | ||
|
||
scala_import( | ||
name = "shaded_scalajson", | ||
jars = [ | ||
"//external:jar/com/eed3si9n/shaded_scalajson_3" | ||
], | ||
runtime_deps = [ | ||
"//3rdparty/jvm/org/scala_lang:scala3_library" | ||
], | ||
visibility = [ | ||
"//3rdparty/jvm:__subpackages__" | ||
] | ||
) | ||
|
||
scala_import( | ||
name = "sjson_new_core", | ||
jars = [ | ||
"//external:jar/com/eed3si9n/sjson_new_core_3" | ||
], | ||
runtime_deps = [ | ||
"//3rdparty/jvm/net/openhft:zero_allocation_hashing", | ||
"//3rdparty/jvm/org/scala_lang:scala3_library" | ||
], | ||
visibility = [ | ||
"//3rdparty/jvm:__subpackages__" | ||
] | ||
) | ||
|
||
scala_import( | ||
name = "sjson_new_scalajson", | ||
jars = [ | ||
"//external:jar/com/eed3si9n/sjson_new_scalajson_3" | ||
], | ||
runtime_deps = [ | ||
"//3rdparty/jvm/org/scala_lang:scala3_library", | ||
":shaded_jawn_parser", | ||
":shaded_scalajson", | ||
":sjson_new_core" | ||
], | ||
visibility = [ | ||
"//3rdparty/jvm:__subpackages__" | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
load("@rules_scala3//rules:scala.bzl", "scala_import") | ||
java_import( | ||
name = "disruptor", | ||
jars = [ | ||
"//external:jar/com/lmax/disruptor" | ||
], | ||
visibility = [ | ||
"//3rdparty/jvm:__subpackages__" | ||
] | ||
) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
load("@rules_scala3//rules:scala.bzl", "scala_import") | ||
java_import( | ||
name = "file_tree_views", | ||
jars = [ | ||
"//external:jar/com/swoval/file_tree_views" | ||
], | ||
visibility = [ | ||
"//3rdparty/jvm:__subpackages__" | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.