Closed oldergod closed 1 year ago
We think it's because our class exposes a field which AnimalSniffer would not allow us to ignore? Is it because it can be class loaded?
Might be #131 which was fixed in version 1.23. Which version are you using?
It looks like I was on 1.22
.
@xvik maybe the Gradle plugin could have been released when it bumped to 1.23
?
https://github.com/xvik/gradle-animalsniffer-plugin/blob/5275015d68abee811b4ce2b41d6d994de9427da9/build.gradle#L24C59-L24C59
My bad, sorry. I was checking this issue on sample project using animalsniffer 1.22 (forget to verify). Now I tried with 1.23 and, indeed, everything works.
You can already test with 1.23 by applying additional gradle plugin configuration: animalsniffer.toolVersion = '1.23'
.
And, I'll release new plugin version today to avoid such issues in the future.
Great we were able to sort it out! Thank you both.
I have a class with only member methods like
Animal sniffer would give me violations like:
After having annotated the class as follows:
all violations are gone except one:
Does this need a specific configuration to get ignore of this violation as well?