mirror of
https://github.com/ethauvin/kobalt-doc.git
synced 2025-04-26 12:18:13 -07:00
Document compileOptional.
This commit is contained in:
parent
fe3c7ffcbe
commit
dede69f0b2
1 changed files with 12 additions and 10 deletions
|
@ -260,16 +260,18 @@ com.badlogicgames.gdx:gdx-platform:jar:natives-desktop:1.9.2</pre>
|
||||||
There are various kinds of dependencies:
|
There are various kinds of dependencies:
|
||||||
</p>
|
</p>
|
||||||
<dl class="dl-horizontal">
|
<dl class="dl-horizontal">
|
||||||
<dt>compile</dt>
|
<dt>compile</dt>
|
||||||
<dd>Used to compile your project.</dd>
|
<dd>Compilation dependency.</dd>
|
||||||
<dt>runtime</dt>
|
<dt>compileOptional</dt>
|
||||||
<dd>Not used at compile time but passed to the JVM to run your application.</dd>
|
<dd>Optional compilation dependency.</dd>
|
||||||
<dt>provided</dt>
|
<dt>exclude</dt>
|
||||||
<dd>Used at compile time but not used to run your application.</dd>
|
<dd>Exclude the given dependencies from the classpath. You can either
|
||||||
<dt>exclude</dt>
|
specify a versioned id (e.g. <code>"groupId:artifactId:version"</code>) or a versionless one
|
||||||
<dd>Exclude the given dependencies from the classpath. You can either
|
(<code>"groupId:artifactId:"</code>).</dd>
|
||||||
specify a versioned id (e.g. <code>"groupId:artifactId:version"</code>) or a versionless one
|
<dt>provided</dt>
|
||||||
(<code>"groupId:artifactId:"</code>).</dd>
|
<dd>Used at compile time but not used to run your application.</dd>
|
||||||
|
<dt>runtime</dt>
|
||||||
|
<dd>Not used at compile time but passed to the JVM to run your application.</dd>
|
||||||
<dt>native</dt>
|
<dt>native</dt>
|
||||||
<dd>Used to define native dependencies.</dd>
|
<dd>Used to define native dependencies.</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue