1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt-doc.git synced 2025-04-25 03:57:11 -07:00

Minor fixes.

This commit is contained in:
Cedric Beust 2016-01-06 22:06:33 +04:00
parent 4c053a8fcc
commit d3642751bb
2 changed files with 46 additions and 44 deletions

View file

@ -93,30 +93,29 @@ val p = kotlinProject {
val repos = repos("http://oss.sonatype.org/content/repositories/snapshots") val repos = repos("http://oss.sonatype.org/content/repositories/snapshots")
dependencies { dependencies {
compile("org.jetbrains.kotlin:kotlin-stdlib:" + kotlin_version) compile("org.jetbrains.kotlin:kotlin-stdlib:" + kotlin_version,
compile("org.jetbrains.kotlin:kotlin-reflect:" + kotlin_version) "org.jetbrains.kotlin:kotlin-reflect:" + kotlin_version,
"com.fasterxml.jackson.core:jackson-core:2.6.4",
"com.fasterxml.jackson.core:jackson-databind:2.6.4",
"com.fasterxml.jackson.core:jackson-annotations:2.6.4",
"com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.6.3",
"com.fasterxml.woodstox:woodstox-core:5.0.1",
compile("com.fasterxml.jackson.core:jackson-core:2.6.4") "io.netty:netty-all:4.0.31.Final",
compile("com.fasterxml.jackson.core:jackson-databind:2.6.4") "commons-codec:commons-codec:1.6",
compile("com.fasterxml.jackson.core:jackson-annotations:2.6.4") "commons-logging:commons-logging:1.1.1",
compile("com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.6.3") "com.netflix.rxjava:rxjava-core:0.20.0-RC4",
compile("com.fasterxml.woodstox:woodstox-core:5.0.1") "org.slf4j:slf4j-api:1.7.5",
"org.slf4j:slf4j-simple:1.7.5",
compile("io.netty:netty-all:4.0.31.Final") "joda-time:joda-time:2.3")
compile("commons-codec:commons-codec:1.6")
compile("commons-logging:commons-logging:1.1.1")
compile("com.netflix.rxjava:rxjava-core:0.20.0-RC4")
compile("org.slf4j:slf4j-api:1.7.5")
compile("org.slf4j:slf4j-simple:1.7.5")
compile("joda-time:joda-time:2.3")
} }
//these are only downloaded when running the test task //these are only downloaded when running the test task
dependenciesTest { dependenciesTest {
compile("junit:junit:4.9") compile("junit:junit:4.9",
compile("org.mockito:mockito-all:1.9.5") "org.mockito:mockito-all:1.9.5",
compile("org.apache.httpcomponents:httpcore:4.3.3") "org.apache.httpcomponents:httpcore:4.3.3",
compile("org.apache.httpcomponents:httpclient:4.5.1") "org.apache.httpcomponents:httpclient:4.5.1")
} }
//tells kobalt to produce a jar //tells kobalt to produce a jar
@ -127,28 +126,28 @@ val p = kotlinProject {
} }
</pre> </pre>
<h2 class="section" id="idea-plugin">4. In Intellij IDEA, Sync Build File</h2> <h2 class="section" id="idea-plugin">4. In Intellij IDEA, Sync Build File</h2>
<p> <p>
If you're using Intellij IDEA, make sure you've <a href="../idea-plug-in/index.html">installed the Kobalt plugin</a> and then go to Kobalt -> Sync Build File. This will download dependencies in a way that IDEA understand so you no loger get errors. If you're using Intellij IDEA, make sure you've <a href="../idea-plug-in/index.html">installed the Kobalt plugin</a> and then go to <code>Kobalt -> Sync Build File</code>. This will download dependencies in a way that IDEA understand so you no loger get errors.
</p> </p>
</div> </div>
<!-- Table of contents --> <!-- Table of contents -->
<div class="col-md-3" id="table-of-contents"> <div class="col-md-3" id="table-of-contents">
</div> </div>
</div> <!-- /container --> </div> <!-- /container -->
<!-- Bootstrap core JavaScript <!-- Bootstrap core JavaScript
================================================== --> ================================================== -->
<!-- Placed at the end of the document so the pages load faster --> <!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="../bootstrap/dist/js/bootstrap.min.js"></script> <script src="../bootstrap/dist/js/bootstrap.min.js"></script>
<script src="../js/kobalt.js"></script> <script src="../js/kobalt.js"></script>
<script>generateKobalt(1);</script> <script>generateKobalt(1);</script>
<!-- <!--
<script src="../bootstrap/dist/js/docs.min.js"></script> <script src="../bootstrap/dist/js/docs.min.js"></script>
--> -->
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug --> <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<!-- <!--
<script src="../../assets/js/ie10-viewport-bug-workaround.js"></script> <script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
--> -->
</body> </body>

View file

@ -55,7 +55,7 @@
<!-- Main component for a primary marketing message or call to action --> <!-- Main component for a primary marketing message or call to action -->
<div class="jumbotron"> <div class="jumbotron">
<h1>Kobalt: friendly, fast build system</h1> <h1>Kobalt: a modern, versatile build system</h1>
</div> </div>
<!-- Main content --> <!-- Main content -->
@ -102,6 +102,9 @@ val jcommander = javaProject {
} }
</pre> </pre>
<p>
This build file also includes a directive to upload your artifacts to JCenter automatically.
</p>
<h2 class="section" id="design-goals">Design goals</h2> <h2 class="section" id="design-goals">Design goals</h2>