Skip to content

Unused-dependecy message working with MapStruct library. #401

@eduarbaron

Description

@eduarbaron

We are getting an error working with MapStruct library.

About MapStruct documentación we need add this two lines:

implementation 'org.mapstruct:mapstruct:1.5.2.Final'
annotationProcessor 'org.mapstruct:mapstruct-processor:1.5.2.Final'

But the plugin return:

warning   unused-dependency                  this dependency is a service provider unused at compileClasspath time and can be moved to the runtimeOnly configuration (no auto-fix available)
build.gradle:40
annotationProcessor 'org.mapstruct:mapstruct-processor:1.5.2.Final'

warning   unused-dependency                  this dependency is unused and can be removed
build.gradle:40
annotationProcessor 'org.mapstruct:mapstruct-processor:1.5.2.Final'

So, is necessary that you can check it and validate if the plugin is not supoorting the MapStruct configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions