New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Initial Bazel integration #9777
base: develop
Are you sure you want to change the base?
Conversation
Using latest JDK (after proper GraalVM integration) broke compilation of Scala projects due to a problem with SecurityManager in `scala_rules`. Workaround it by having custom toolchain. Added example BUILD for mixed Scala/Java project with a small number of dependencies.
## @vaticle_bazel_distribution seems to rely on | ||
## as encountered various issues, including a blocker of | ||
## https://github.com/bazelbuild/rules_kotlin/issues/1072. | ||
rules_kotlin_version = "1.9.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need kotlin rules?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dependency of bazel-distribution
unfortunately.
@@ -80,6 +83,10 @@ maven.install( | |||
"org.apache.commons:commons-lang3:%s" % commons_lang_version, | |||
"junit:junit:%s" % junit_version, | |||
"org.hamcrest:hamcrest-all:%s" % hamcrest_version, | |||
|
|||
## bazel-distribution dependencies | |||
"info.picocli:picocli:%s" % picocli_version, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need picocli? What does bazel-distribution dependencies
mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As the comment says, it is a dependency of bazel-distribution
rules which are used for generating pom.xml
.
This doesn't mean that this dependency is added to any of subprojects. But it has to be listed for the rules so that the dependency (and its version) is discoverable.
Pull Request Description
Important Notes
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:
Scala,
Java,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
./run ide build
.