remove ilo run command file
[yosql.git] / yosql-website / content / configuration / java / _index.md
blob207fe2ee8bf7d9930d67d38d77ae2db2b228315d
1 ---
2 title: Java
3 date: 2019-09-27T18:51:08+02:00
4 menu:
5   main:
6     parent: Configuration
7 categories:
8   - Configuration
9 tags:
10   - Java
11 ---
13 The `java` configuration can be used to control how `YoSQL` uses Java in the generated code.
15 ## Tooling
17 ### Maven
19 In order to use `YoSQL` together with [Maven](https://maven.apache.org/), take a look at the tooling [documentation for Maven](/tooling/maven/).
21 {{< maven/config/java/index >}}
23 ### Gradle
25 In order to use `YoSQL` together with [Gradle](https://gradle.org/), take a look at the tooling [documentation for Gradle](/tooling/gradle/).
27 ```kotlin
28 plugins {
29   java
30   id("wtf.metio.yosql") version "2021.4.21"
33 yosql {
34   java {
35     configOption.set(configValue)
36   }
38 ```
40 ```groovy
41 plugins {
42   id "java"
43   id "wtf.metio.yosql" version "2021.4.21"
46 yosql {
47   java {
48     configOption = configValue
49   }
51 ```
53 ### Bazel
55 In order to use `YoSQL` together with [Bazel](https://bazel.build/), take a look at the tooling [documentation for Bazel](/tooling/bazel/).
57 ### CLI
59 In order to use YoSQL on the command line, take a look at the tooling [documentation for CLI](/tooling/cli/).
61 ```shell
62 $ yosql --java-config-option=configValue
63 ```
65 As long as the name of the config option is unique across all configuration groups, you can use the shorter form:
67 ```shell
68 $ yosql --config-option=configValue
69 ```