Repositories

The repositories configuration can be used to control how YoSQL outputs repositories.

Tooling

Maven

In order to use YoSQL together with Maven, take a look at the tooling documentation for Maven.

<build>
    <plugins>
        ...
        <plugin>
            <groupId>wtf.metio.yosql</groupId>
            <artifactId>yosql-tooling-maven</artifactId>
            <version>2021.4.21</version>
            <configuration>
                <repositories>
                    <configOption>configValue</configOption>
                </repositories>
            </configuration>
        </plugin>
        ...
    </plugins>
</build>

Gradle

In order to use YoSQL together with Gradle, take a look at the tooling documentation for Gradle.

plugins {
  java
  id("wtf.metio.yosql") version "2021.4.21"
}

yosql {
  repositories {
    configOption.set(configValue)
  }
}
plugins {
  id "java"
  id "wtf.metio.yosql" version "2021.4.21"
}

yosql {
  repositories {
    configOption = configValue
  }
}

Bazel

In order to use YoSQL together with Bazel, take a look at the tooling documentation for Bazel.

CLI

In order to use YoSQL on the command line, take a look at the tooling documentation for CLI.

$ yosql --repositories-config-option=configValue

As long as the name of the config option is unique across all configuration groups, you can use the shorter form:

$ yosql --config-option=configValue

Pages