From d9a637ef3b8a6ba16e28b0e35a61b89557f6c05b Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Mon, 1 Aug 2016 07:56:44 -0700 Subject: [PATCH] Document deplyToMavenLocal. --- documentation/index.html | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/documentation/index.html b/documentation/index.html index eceb918..44460f9 100644 --- a/documentation/index.html +++ b/documentation/index.html @@ -455,8 +455,27 @@ authUrl.dl.bintray.com.password=xxx If only one of username or password is specified, the build will abort with an error.

-

Using plug-ins

+

Local Maven repo

+

+ You can deploy your artifacts to your local maven repo while developing in testing with the task + deployToMavenLocal. This task will copy all the artifacts that would normally be uploaded + to a remote depo to a local directory on your file system: +

+
+$ kobaltw deployToMavenLocal
+  ───── klaxon:deployToMavenLocal
+Deploying 8 files to local maven /Users/cbeust/.kobalt/localMavenRepo
+BUILD SUCCESSFUL (0 seconds)
+
+

+ You can then add this repository to the list of repositories that Kobalt should use when looking up + by calling the localMaven() directive: +

+
+// Build.kt
+val r = repos(localMaven())
+

Using plug-ins

Kobalt comes with a few preconfigured plug-ins but you will want to include external ones as well, which can be downloaded either from a Maven repository (Sonatype, JCenter, ...) or from a local file.