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
Gradle Lint reports:
warning unused-dependency this dependency is unused and can be removed
backend/build.gradle:70
compile 'io.springfox:springfox-bean-validators:2.6.1'
But in reality it is used at compile time like this:
import springfox.bean.validators.configuration.BeanValidatorPluginsConfiguration;
... @configuration
@EnableSwagger2 @import(BeanValidatorPluginsConfiguration.class)
public class SwaggerConfig {
and initially it was like this: @configuration
@EnableSwagger2 @import(springfox.bean.validators.configuration.BeanValidatorPluginsConfiguration.class)
public class SwaggerConfig {
So question is, does gradle lint know how to handle Spring @import annotations?
The text was updated successfully, but these errors were encountered:
Gradle Lint reports:
warning unused-dependency this dependency is unused and can be removed
backend/build.gradle:70
compile 'io.springfox:springfox-bean-validators:2.6.1'
But in reality it is used at compile time like this:
import springfox.bean.validators.configuration.BeanValidatorPluginsConfiguration;
...
@configuration
@EnableSwagger2
@import(BeanValidatorPluginsConfiguration.class)
public class SwaggerConfig {
and initially it was like this:
@configuration
@EnableSwagger2
@import(springfox.bean.validators.configuration.BeanValidatorPluginsConfiguration.class)
public class SwaggerConfig {
So question is, does gradle lint know how to handle Spring @import annotations?
The text was updated successfully, but these errors were encountered: