-
Notifications
You must be signed in to change notification settings - Fork 52
Move from KSP to classgraph for registration code and initial Scala support #761
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
Conversation
94d7905
to
249620c
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.
Please also update the documentation accordingly.
Scala should at least be mentioned like java.
IMO we can add the scala specifics later in a separate PR but it is likely that this will be merged and released before that has happened. So I'd at least mention it.
Also: why not directly deleting the ksp implementation with this PR? currently there is no fallback where the user can fallback to the old symbol processor so i see no point in keeping that code around any longer.
...sor/src/main/kotlin/godot/annotation/processor/classgraph/extensions/AnnotationExtensions.kt
Outdated
Show resolved
Hide resolved
...sor/src/main/kotlin/godot/annotation/processor/classgraph/extensions/ClassMemberExtension.kt
Outdated
Show resolved
Hide resolved
...ns/godot-gradle-plugin/src/main/kotlin/godot/gradle/projectExt/configureThirdPartyPlugins.kt
Show resolved
Hide resolved
...-gradle-plugin/src/main/kotlin/godot/gradle/projectExt/setupConfigurationsAndCompilations.kt
Outdated
Show resolved
Hide resolved
kt/plugins/godot-gradle-plugin/src/main/kotlin/godot/gradle/tasks/classGraphSymbolsProcess.kt
Show resolved
Hide resolved
.../godot-gradle-plugin/src/main/kotlin/godot/gradle/tasks/initialKotlinCompileForClassGraph.kt
Show resolved
Hide resolved
.../godot-gradle-plugin/src/main/kotlin/godot/gradle/tasks/initialKotlinCompileForClassGraph.kt
Show resolved
Hide resolved
...s/godot-gradle-plugin/src/main/kotlin/godot/gradle/tasks/initialScalaCompileForClassGraph.kt
Show resolved
Hide resolved
kt/plugins/godot-gradle-plugin/src/main/kotlin/godot/gradle/tasks/setupBuildTask.kt
Outdated
Show resolved
Hide resolved
679e85f
to
e6456df
Compare
...sor/src/main/kotlin/godot/annotation/processor/classgraph/extensions/AnnotationExtensions.kt
Outdated
Show resolved
Hide resolved
...rocessor/src/main/kotlin/godot/annotation/processor/classgraph/extensions/ClassExtentions.kt
Show resolved
Hide resolved
00b28fc
to
5688880
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.
Very nice work!
I would not merge this in master though atm. This together with other big upcoming changes makes it harder to create bugfix releases in the meantime until these bigger tasks are finished.
Hence i propose to reintroduce a develop branch until these bigger changes are done.
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.
Took the liberty to create a develop branch and redirected the PR to it.
Otherwise, looks good to me for a first version. We'll see for more vicious potential bugs once we start using it for real.
I would also delete the ksp processor directory, but it can be done at a later point.
…nt and simplify constructor registration so we get rid of nullable info need
…rst steps in scala support
…ording to this modification
5688880
to
a5bbd42
Compare
This moves from KSP to classgraph to generate registration code.
This also adds initial Scala support to the module.
edit by @chippmann: resolves #773