Skip to content

adding kotlin-csv-jvm depenedncy pulls testing libraries into runtime #56

@kopernic-pl

Description

@kopernic-pl

Describe the bug
When building application (using gradle distZip from application plugin) that depends on kotlin-csv, test libraries are pulled into created application artefact.

To Reproduce
Create empty basic kotlin project
add dependency implementation("com.github.doyaaaaaken:kotlin-csv-jvm:0.10.1")

Expected behavior
No testing libraries in artefact. To check:

  • run gradle dependencies

    • runtimeClasspath should not contain kotlin-test library
  • run gradle distZip with application plugin

    • created zip should not contain testing libraries

Environment

  • kotlin-csv: 0.10.1
  • java version: java8
  • gradle: 6.5
  • OS: Win

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions