X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=build.gradle;h=64a84473189a56213a63c5818330352f05856416;hb=47ddf337a7b17600a7cedaa6b1fb070a229850b0;hp=12fa60271a0ac8595f6cbc7f67a4649f2fb66394;hpb=4db3397a6a5bc6c6c40fffb90c9624182caf72d1;p=rhynodge.git diff --git a/build.gradle b/build.gradle index 12fa602..64a8447 100644 --- a/build.gradle +++ b/build.gradle @@ -17,7 +17,7 @@ sourceCompatibility = 1.8 targetCompatibility = 1.8 buildscript { - ext.kotlinVersion = '1.0.2' + ext.kotlinVersion = '1.1.51' repositories { mavenCentral() @@ -30,6 +30,9 @@ buildscript { repositories { mavenCentral() + maven { + url "http://dl.bintray.com/kotlinx/kotlinx" + } } dependencies { @@ -44,6 +47,8 @@ dependencies { compile group: "com.fasterxml.jackson.core", name: "jackson-annotations", version: "2.1.2" compile group: "com.fasterxml.jackson.core", name: "jackson-databind", version: "2.1.2" compile group: "com.google.inject", name: "guice", version: "4.0" + compile group: "org.jetbrains.kotlinx", name: "kotlinx.html", version: "0.5.8" + compile group: "org.jetbrains.kotlinx", name: "kotlinx.html.jvm", version: "0.5.8" testCompile group: "junit", name: "junit", version:"4.12" testCompile group: "org.hamcrest", name: "hamcrest-library", version:"1.3" @@ -76,11 +81,13 @@ task createVersion() { import org.ajoberstar.grgit.Grgit -createVersion << { - def gitRepo = Grgit.open(".") - version = gitRepo.describe() - new File("src/generated/resources").mkdirs() - new File("src/generated/resources/version.txt").withWriter() { it.write(version) } +createVersion { + doLast { + def gitRepo = Grgit.open(".") + version = gitRepo.describe() + new File("src/generated/resources").mkdirs() + new File("src/generated/resources/version.txt").withWriter() { it.write(version) } + } } war { @@ -88,4 +95,8 @@ war { dependsOn(test) } +jacoco { + toolVersion = "0.7.6.201602180812" +} + /* vim: set ts=4 sw=4 et: */