You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a simple Groovy Gradle project here: https://github.com/dmurat/config-annotation-processor-demo . It uses Groovy and Java classes annotated with @ConfigurationProperties. My issue is that for Groovy class annotation processor emits properties of groovy.lang.MetaClass type which is not really usefull.
I will like if groovy.lang.MetaClass can be included in a list of exclusions in org.springframework.boot.configurationprocessor.TypeExcludeFilter.
In a project mentioned above, it can be seen how metadata generation works with modifed TypeExcludeFilter. To get original behavior it is enough to switch the comments on annotationProcessor dependency in build.gradle.
Spring Boot version used is 2.1.4.RELEASE.
Tnx
The text was updated successfully, but these errors were encountered:
philwebb
changed the title
Exlude groovy.lang.MetaClass type from configuration annotation processor
Exclude groovy.lang.MetaClass type from configuration annotation processor
May 28, 2019
I have a simple Groovy Gradle project here: https://github.com/dmurat/config-annotation-processor-demo . It uses Groovy and Java classes annotated with
@ConfigurationProperties
. My issue is that for Groovy class annotation processor emits properties ofgroovy.lang.MetaClass
type which is not really usefull.I will like if
groovy.lang.MetaClass
can be included in a list of exclusions inorg.springframework.boot.configurationprocessor.TypeExcludeFilter
.In a project mentioned above, it can be seen how metadata generation works with modifed
TypeExcludeFilter
. To get original behavior it is enough to switch the comments onannotationProcessor
dependency inbuild.gradle
.Spring Boot version used is 2.1.4.RELEASE.
Tnx
The text was updated successfully, but these errors were encountered: