diff --git a/documentation/index.html b/documentation/index.html index 7fde417..30ebb4e 100644 --- a/documentation/index.html +++ b/documentation/index.html @@ -216,27 +216,54 @@ dependencies { } -
- There are various kinds of dependencies: -
-"groupId:artifactId:version"
) or a versionless one
- ("groupId:artifactId:"
).+ There are various kinds of dependencies: +
+"groupId:artifactId:version"
) or a versionless one
+ ("groupId:artifactId:"
).
+Kobalt lets you specify Maven coordinates in one line, such as "org.testng:testng:6.9.10"
. Note that Kobalt uses the Maven Coordinates defined in the Maven specification, which are a little bit different from the ones that Gradle uses.
+
+ The standard format for such coordinates, as explained in the link above, is: +
++groupId:artifactId:packaging:classifier:version
- You can define settings that will apply to all your Kobalt builds by creating
- the file ~/.config/kobalt/settings.xml
:
+ packaging
and classifier
are optional and can be omitted. If version
+ is omitted, Kobalt will resolve the artifact to its latest version from all the specified repos.
+ Most of the time, you will only specify groupId
, artifactId
and version
, but if you ever need to specify additional components such as packaging
(sometimes referred to as "extension
") or classifier
,
+ please take note that these should appear before the version number.
+ For example, here is a Maven coordinate specifying a classifier: +
++# No version, resolves to the latest +org.testng:testng: +# Specifies an extension and a qualifier +com.badlogicgames.gdx:gdx-platform:jar:natives-desktop:1.9.2+ +
+ You can define settings that will apply to all your Kobalt builds by creating
+ the file ~/.config/kobalt/settings.xml
:
+
<kobalt-settings> <localRepo>/Users/beust/my-kobalt-repo</localRepo>