opencsv

com.opencsv : opencsv

A simple library for reading and writing CSV in Java

[Website] ·
295 usages

Add dependency in Maven / Gradle

<dependency>
    <groupId>com.opencsv</groupId>
    <artifactId>opencsv</artifactId>
    <version>5.5.2</version>
</dependency>

How to add dependency in a project

  1. Add dependency to a Maven project
  2. Add dependency to a Gradle project
  3. Add dependency to a SBT Scala project
  4. Add dependency to a Grape project

1. Add dependency to a Maven project

Maven: Add the com.opencsv:opencsv library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>com.opencsv</groupId>
  <artifactId>opencsv</artifactId>
  <version>5.5.2</version>
</dependency>
</dependencies>

To install com.opencsv:opencsv library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the com.opencsv:opencsv library to the dependencies section of your build.gradle file:

dependencies {
implementation 'com.opencsv:opencsv:5.5.2'
}

Gradle Kotlin DSL: Add the com.opencsv:opencsv library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("com.opencsv:opencsv:5.5.2")
}

3. Add dependency to a SBT Scala project

Scala: Add the com.opencsv:opencsv library to your build.sbt file:

libraryDependencies += "com.opencsv" % "opencsv" % "5.5.2"

4. Add dependency to a Grape project

Grape: Add an annotation com.opencsv:opencsv library to your groovy script file:

@Grapes(
    @Grab('com.opencsv:opencsv:5.5.2')
)

Compile Dependencies (0)

Group / Artifact Usage

Provided Dependencies (0)

Group / Artifact Usage

Test Dependencies (7)