Skip to content
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

Block other compiler plugins by default #1126

Merged
merged 3 commits into from Sep 28, 2022
Merged

Conversation

ting-yuan
Copy link
Collaborator

and deprecate blockOtherPlugins.

Fixes #897

There's still no real test yet because no built-in plugin runs before AnalysisHandlerExtension; The existing test only checks whether it builds.

and dropping support of other compiler plugins in KSP's task.
@@ -59,7 +59,7 @@ class PlaygroundIT {
val gradleRunner = GradleRunner.create().withProjectDir(project.root)

File(project.root, "workload/build.gradle.kts")
.appendText("\nksp {\n blockOtherCompilerPlugins = true\n}\n")
.appendText("\nksp {\n blockOtherCompilerPlugins = false\n}\n")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this for?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to deprecate the flag gradually. The default becomes true effectively. Let's not break blockOtherCompilerPlugins = false too soon.

@ting-yuan ting-yuan merged commit a634e55 into google:main Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compatibility with Kotlin/Native compiler plugins
2 participants