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")
dependencies {
compile("org.jetbrains.kotlin:kotlin-stdlib:" + kotlin_version)
compile("org.jetbrains.kotlin:kotlin-reflect:" + kotlin_version)
compile("org.jetbrains.kotlin:kotlin-stdlib:" + 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")
compile("com.fasterxml.jackson.core:jackson-databind:2.6.4")
compile("com.fasterxml.jackson.core:jackson-annotations:2.6.4")
compile("com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.6.3")
compile("com.fasterxml.woodstox:woodstox-core:5.0.1")
compile("io.netty:netty-all:4.0.31.Final")
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")
"io.netty:netty-all:4.0.31.Final",
"commons-codec:commons-codec:1.6",
"commons-logging:commons-logging:1.1.1",
"com.netflix.rxjava:rxjava-core:0.20.0-RC4",
"org.slf4j:slf4j-api:1.7.5",
"org.slf4j:slf4j-simple:1.7.5",
"joda-time:joda-time:2.3")
}
//these are only downloaded when running the test task
dependenciesTest {
compile("junit:junit:4.9")
compile("org.mockito:mockito-all:1.9.5")
compile("org.apache.httpcomponents:httpcore:4.3.3")
compile("org.apache.httpcomponents:httpclient:4.5.1")
compile("junit:junit:4.9",
"org.mockito:mockito-all:1.9.5",
"org.apache.httpcomponents:httpcore:4.3.3",
"org.apache.httpcomponents:httpclient:4.5.1")
}
//tells kobalt to produce a jar
@ -127,28 +126,28 @@ val p = kotlinProject {
}
</pre>
<h2 class="section" id="idea-plugin">4. In Intellij IDEA, Sync Build File</h2>
<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.
</p>
<h2 class="section" id="idea-plugin">4. In Intellij IDEA, Sync Build File</h2>
<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 <code>Kobalt -> Sync Build File</code>. This will download dependencies in a way that IDEA understand so you no loger get errors.
</p>
</div>
<!-- Table of contents -->
<div class="col-md-3" id="table-of-contents">
</div>
</div> <!-- /container -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- 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="../bootstrap/dist/js/bootstrap.min.js"></script>
<script src="../js/kobalt.js"></script>
<script>generateKobalt(1);</script>
<!--
<script src="../bootstrap/dist/js/docs.min.js"></script>
-->
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<!--
<script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
-->
</body>
</div>
<!-- Table of contents -->
<div class="col-md-3" id="table-of-contents">
</div>
</div> <!-- /container -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- 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="../bootstrap/dist/js/bootstrap.min.js"></script>
<script src="../js/kobalt.js"></script>
<script>generateKobalt(1);</script>
<!--
<script src="../bootstrap/dist/js/docs.min.js"></script>
-->
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<!--
<script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
-->
</body>