SnakeYAML

org.yaml : snakeyaml

YAML 1.1 parser and emitter for Java

[Website] ·
1,986 usages

Add dependency in Maven / Gradle

<dependency>
    <groupId>org.yaml</groupId>
    <artifactId>snakeyaml</artifactId>
    <version>1.30</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 org.yaml:snakeyaml library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>org.yaml</groupId>
  <artifactId>snakeyaml</artifactId>
  <version>1.30</version>
</dependency>
</dependencies>

To install org.yaml:snakeyaml library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the org.yaml:snakeyaml library to the dependencies section of your build.gradle file:

dependencies {
implementation 'org.yaml:snakeyaml:1.30'
}

Gradle Kotlin DSL: Add the org.yaml:snakeyaml library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("org.yaml:snakeyaml:1.30")
}

3. Add dependency to a SBT Scala project

Scala: Add the org.yaml:snakeyaml library to your build.sbt file:

libraryDependencies += "org.yaml" % "snakeyaml" % "1.30"

4. Add dependency to a Grape project

Grape: Add an annotation org.yaml:snakeyaml library to your groovy script file:

@Grapes(
    @Grab('org.yaml:snakeyaml:1.30')
)

Compile Dependencies (0)

Group / Artifact Usage

Provided Dependencies (0)

Group / Artifact Usage

Test Dependencies (3)

Group / Artifact Usage
junit » junit 63,836
org.apache.velocity » velocity 824
joda-time » joda-time 5,266