Bump dawidd6/action-send-mail from 3 to 4
[yosql.git] / yosql-models / yosql-models-generator / src / main / resources / configurationSetting.md
blob1a9ad5d5693279f15e214ccb46f9e3c387b41f91
1 ---
2 title: {{setting.name}}
3 date: {{currentDate}}
4 menu:
5   main:
6     parent: {{group.name}}
7 categories:
8   - Configuration
9 tags:
10   - {{#lower}}{{group.name}}{{/lower}}
11 {{#setting.tags}}
12   - {{.}}
13 {{/setting.tags}}
14 generated: true
15 ---
17 {{setting.description}}
19 {{#hasExplanation}}
20 {{setting.explanation}}
22 {{/hasExplanation}}
23 ## Configuration Options
25 {{#setting.examples}}
26 ### Option: '{{value}}'
28 {{description}}
30 {{#result}}
31 ```java
32 {{{.}}}
33 ```
35 {{/result}}
36 {{/setting.examples}}
37 {{#hasRelatedSettings}}
38 ## Related Options
40 {{#relatedSettings}}
41 - [{{name}}](../{{#lower}}{{name}}{{/lower}}/): {{description}}
42 {{/relatedSettings}}
43 {{/hasRelatedSettings}}
45 ## Tooling
47 ### Ant
49 In order to use `YoSQL` together with [Ant](https://ant.apache.org/), take a look at the tooling [documentation for Ant](/tooling/ant/).
51 ### Bazel
53 In order to use `YoSQL` together with [Bazel](https://bazel.build/), take a look at the tooling [documentation for Bazel](/tooling/bazel/).
55 ### CLI
57 In order to use `YoSQL` on the command line, take a look at the tooling [documentation for CLI](/tooling/cli/).
59 ```console
60 $ yosql --{{#lower}}{{group.name}}{{/lower}}-{{#kebab}}{{setting.name}}{{/kebab}}=configValue
61 ```
63 As long as the name of the config option is unique across all configuration groups, you can use the shorter form:
65 ```console
66 $ yosql --{{#kebab}}{{setting.name}}{{/kebab}}=configValue
67 ```
69 ### Gradle
71 In order to use `YoSQL` together with [Gradle](https://gradle.org/), take a look at the tooling [documentation for Gradle](/tooling/gradle/). The `{{setting.name}}` setting can be configured using Gradle in Kotlin syntax like this:
73 ```kotlin
74 plugins {
75   java
76   id("wtf.metio.yosql") version "{{yosqlVersion}}"
79 yosql {
80   {{#lower}}{{group.name}}{{/lower}} {
81     {{setting.name}}.set(configValue)
82   }
84 ```
86 or in Groovy syntax like this:
88 ```groovy
89 plugins {
90   id "java"
91   id "wtf.metio.yosql" version "{{yosqlVersion}}"
94 yosql {
95   {{#lower}}{{group.name}}{{/lower}} {
96     {{setting.name}} = configValue
97   }
99 ```
101 ### Maven
103 In order to use `YoSQL` together with [Maven](https://maven.apache.org/), take a look at the tooling [documentation for Maven](/tooling/maven/). The `{{setting.name}}` setting can be configured using Maven like this:
105 ```xml
106 <build>
107   <plugins>
108     <plugin>
109       <groupId>wtf.metio.yosql</groupId>
110       <artifactId>yosql-tooling-maven</artifactId>
111       <version>{{yosqlVersion}}</version>
112       <configuration>
113         <{{#lower}}{{group.name}}{{/lower}}>
114           <{{setting.name}}>configValue</{{setting.name}}>
115         </{{#lower}}{{group.name}}{{/lower}}>
116       </configuration>
117     </plugin>
118   </plugins>
119 </build>