X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=build.gradle;h=ab50f04c436f93ab88d7f5a10f10bf6b239cbd46;hb=983e83be4643ce2ed634a0d186e1465d71480029;hp=d772187ebbd44403f1bc4622936d8b891650d741;hpb=252bc27aca417b31fa27716dfab7e6446d642a7c;p=rhynodge.git diff --git a/build.gradle b/build.gradle index d772187..ab50f04 100644 --- a/build.gradle +++ b/build.gradle @@ -1,4 +1,5 @@ apply plugin: "java" +apply plugin: "kotlin" apply plugin: "war" apply plugin: "jacoco" apply plugin: "idea" @@ -16,19 +17,26 @@ sourceCompatibility = 1.8 targetCompatibility = 1.8 buildscript { + ext.kotlinVersion = '1.0.2' + repositories { mavenCentral() } dependencies { classpath group: "org.ajoberstar", name: "gradle-git", version: "1.1.0" + classpath group: "org.jetbrains.kotlin", name: "kotlin-gradle-plugin", version: "$kotlinVersion" } } repositories { - mavenCentral() + mavenCentral() + maven { + url "http://dl.bintray.com/kotlinx/kotlinx" + } } dependencies { + compile group: "org.jetbrains.kotlin", name: "kotlin-stdlib", version: "$kotlinVersion" compile group: "com.google.guava", name: "guava", version: "14.0-rc1" compile group: "log4j", name: "log4j", version: "1.2.17" compile group: "org.apache.httpcomponents", name: "httpclient", version: "4.4" @@ -39,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" @@ -83,4 +93,8 @@ war { dependsOn(test) } +jacoco { + toolVersion = "0.7.6.201602180812" +} + /* vim: set ts=4 sw=4 et: */