mirror of
https://github.com/ethauvin/kobalt-doc.git
synced 2025-04-25 03:57:11 -07:00
provided.
This commit is contained in:
parent
2fa7702eff
commit
a800077c20
2 changed files with 35 additions and 30 deletions
|
@ -75,36 +75,6 @@
|
|||
|
||||
<div class="col-md-9">
|
||||
|
||||
<p>
|
||||
Curious to see what a Kobalt build file looks like? Here is <a href="http://jcommander.org">JCommander's entire Kobalt build file</a>:
|
||||
</p>
|
||||
|
||||
<pre>
|
||||
import com.beust.kobalt.*
|
||||
import com.beust.kobalt.plugin.java.*
|
||||
import com.beust.kobalt.plugin.packaging.*
|
||||
import com.beust.kobalt.plugin.publish.*
|
||||
|
||||
val jcommander = javaProject {
|
||||
name = "jcommander"
|
||||
group = "com.beust"
|
||||
artifactId = name
|
||||
version = "1.52"
|
||||
|
||||
dependenciesTest {
|
||||
compile("org.testng:testng:6.9.5")
|
||||
}
|
||||
}
|
||||
|
||||
val a = assemble(jcommander) {
|
||||
mavenJars {
|
||||
}
|
||||
}
|
||||
|
||||
val j = jcenter(jcommander) {
|
||||
publish = false
|
||||
}
|
||||
</pre>
|
||||
<h2 id="downloading">Downloading and installing Kobalt</h3>
|
||||
|
||||
<p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue