Skip to content

Custom dependecy configuration #138

@David-N-Perkins

Description

@David-N-Perkins

I'm trying to use Scoverage with a Flink job project. Flink jobs are packaged into a 'Fat' or 'Shadow' jar using the com.github.johnrengelman.shadow plugin, but several core Flink libraries needed for compiling and running the code aren't supposed to be included.

So the standard way to do this is to create a separate dependency configuration for the shadow jar. But when I do this, Scoverage doesn't see those dependencies and fails to compile the code.

I've got a more complete write up on Stack Overflow: https://stackoverflow.com/questions/61686702/how-to-use-scoverage-with-flink-shadowjar-custom-gradle-dependency-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