Annotations

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

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>
                <annotations>
                    <configOption>configValue</configOption>
                </annotations>
            </configuration>
        </plugin>
        ...
    </plugins>
</build>

Gradle

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

plugins {
  id("wtf.metio.yosql")
}

yosql {
  annotations {
    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 --annotations-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