### Yaml Configuration Format

The Yaml Configuration Format extends the Vert.x Configuration Retriever and provides the support for the Yaml Configuration Format format.

#### Using the Yaml Configuration Format

To use the Yaml Configuration Format, add the following dependency to the dependencies section of your build descriptor:

- Maven (in your `pom.xml`):

    <dependency>
     <groupId>io.vertx</groupId>
     <artifactId>vertx-config-yaml</artifactId>
     <version>3.6.0.CR2</version>
    </dependency>
    <dependency>
     <groupId>io.vertx</groupId>
     <artifactId>vertx-config</artifactId>
     <version>3.6.0.CR2</version>
    </dependency>

- Gradle (in your `build.gradle` file):

    compile 'io.vertx:vertx-config:3.6.0.CR2'
    compile 'io.vertx:vertx-config-yaml:3.6.0.CR2'

#### Configuring the store to use YAML

Once added to your classpath or dependencies, you need to configure the `ConfigRetriever` to use this format:

    var store = ConfigStoreOptions(
      type = "file",
      format = "yaml",
      config = json {
        obj("path" to "my-config.yaml")
      })

    var retriever = ConfigRetriever.create(vertx, ConfigRetrieverOptions(
      stores = listOf(store)))

You just need to set `format` to `yaml`.