-
Notifications
You must be signed in to change notification settings - Fork 758
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
Support direct annotation instantiation in code gen on Kotlin 1.6 #1390
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
18b1a92
Set language version to 1.6
ZacSweers c1144dc
Prototype direct annotation instantiation
ZacSweers 3093f78
Gate generation on language version
ZacSweers b4b52f5
Don't require FIELD access
ZacSweers 3abf7ee
Add a toe-hold for language version testing
ZacSweers a103ef7
Support language version in CI
ZacSweers b9ea6de
(test) Try with 1.6 M1 from kotlin-dev repo
ZacSweers dcbb0b0
1.6.0-M1
ZacSweers 0801da4
Rewire CI for 1.6 milestone
ZacSweers 70c1639
Fix CI versions
ZacSweers 3b23543
One more fix
ZacSweers 163f7ff
Update to 1.6.0-RC
ZacSweers 54c0f73
Add option and wire into both
ZacSweers 2cd0baa
Add Kotlin version to build title
ZacSweers 34089ec
Fixup snapshots
ZacSweers 5986666
Don't check FIELD when instantiating annotations in KSP
ZacSweers 22265c7
Add CI support to match ksp and kotlin RCs
ZacSweers bca3683
Fix plugin applications now that it's on the buildscript classpath
ZacSweers a4a51ea
Parameterize tests to cover different behaviors
ZacSweers 38f2bbf
Cover behaviors in JsonClassSymbolProcessorTest
ZacSweers 684ab6a
Make the test all work safely on diff versions
ZacSweers 17fb7a8
Why is this so fickle
ZacSweers f386977
Merge branch 'master' into z/prototypeAnnotationInstantiation
ZacSweers f4b33d2
Update KotlinPoet to 1.10.2
ZacSweers 9e77200
Add explanatory comment
ZacSweers b80a7f4
Use arrayOf in KSP too
ZacSweers File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Delete if not needed?
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.
Good catch, will remove before merging
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.
actually going to leave it but with a comment explaining it's just temporary while we support dual kotlin versions