-
Notifications
You must be signed in to change notification settings - Fork 213
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
Restingbull/compiler plugin rework #393
Restingbull/compiler plugin rework #393
Conversation
for jar_output in ji.outputs.jars: | ||
jar = jar_output.class_jar | ||
if ctx.attr.target_embedded_compiler: | ||
jars.append(jarjar_action( |
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.
Nice, so you're deshading the compiler plugins and the action should be cacheable :-)
8cc1f9a
to
e118144
Compare
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.
A few nits and issues, but nearly there.
src/main/kotlin/io/bazel/kotlin/builder/toolchain/KotlinToolchain.kt
Outdated
Show resolved
Hide resolved
Probably want to rebase from the changes from the release branch. |
c729940
to
84c0c6e
Compare
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.
Just the formatting issue for .bazelignore, and the commented find configuration for reflow.
* require ids * indicate which phase the plugin executes: stub and compile * include plugin dependencies * allow compiler plugins to be exported via the exported_compiler_plugins * allow "bash" substitutions for plugin arguments of working directories (anvil demonstrates) Update bazel toolchains to 3.7
Update documentation
Fix .bazelignore (wonder what formatted that.) Removed merge artifact from toolchain.
84c0c6e
to
54544c0
Compare
54544c0
to
33b4081
Compare
Merging fixes for the compiler plugins. (long overdue)
Add small optimization to skip building without sources.
First pass to sort out export vs. runtime vs neverlink.
Update examples to cover more cases.