✨ Add comic “Drugs and Wires”
[rhynodge.git] / build.gradle
index 64a8447..73ef9a1 100644 (file)
@@ -1,5 +1,19 @@
-apply plugin: "java"
-apply plugin: "kotlin"
+buildscript {
+    ext.kotlinVersion = '1.4.10'
+
+    repositories {
+        mavenCentral()
+    }
+    dependencies {
+        classpath group: "org.ajoberstar", name: "gradle-git", version: "1.1.0"
+    }
+}
+
+plugins {
+    id 'java'
+    id('org.jetbrains.kotlin.jvm') version '1.4.10'
+}
+
 apply plugin: "war"
 apply plugin: "jacoco"
 apply plugin: "idea"
@@ -16,23 +30,9 @@ version = "0.1"
 sourceCompatibility = 1.8
 targetCompatibility = 1.8
 
-buildscript {
-    ext.kotlinVersion = '1.1.51'
-
-    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()
-    maven {
-        url "http://dl.bintray.com/kotlinx/kotlinx"
-    }
+    jcenter()
 }
 
 dependencies {
@@ -47,8 +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"
+    compile group: "org.jetbrains.kotlinx", name: "kotlinx-html-jvm", version: "0.7.1"
+    compile group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.2'
 
     testCompile group: "junit", name: "junit", version:"4.12"
     testCompile group: "org.hamcrest", name: "hamcrest-library", version:"1.3"