Browse Source

Update dependencies, gradle

Add dokka and a dependency checker plugin
tags/v0.7.0
Chris Smith 3 months ago
parent
commit
bb4b8c8930
5 changed files with 13 additions and 11 deletions
  1. 9
    7
      build.gradle.kts
  2. BIN
      gradle/wrapper/gradle-wrapper.jar
  3. 2
    2
      gradle/wrapper/gradle-wrapper.properties
  4. 1
    1
      gradlew
  5. 1
    1
      gradlew.bat

+ 9
- 7
build.gradle.kts View File

@@ -6,8 +6,10 @@ group = "com.dmdirc.ktirc"
6 6
 plugins {
7 7
     `maven-publish`
8 8
     jacoco
9
-    kotlin("jvm") version "1.3.20"
9
+    kotlin("jvm") version "1.3.21"
10 10
     id("com.jfrog.bintray") version "1.8.4"
11
+    id("org.jetbrains.dokka") version "0.9.17"
12
+    id("name.remal.check-updates") version "1.0.112"
11 13
 }
12 14
 
13 15
 jacoco {
@@ -21,7 +23,7 @@ configurations {
21 23
     all {
22 24
         resolutionStrategy.eachDependency {
23 25
             if (requested.group == "org.jetbrains.kotlin") {
24
-                useVersion("1.3.20")
26
+                useVersion("1.3.21")
25 27
             }
26 28
         }
27 29
     }
@@ -33,15 +35,15 @@ repositories {
33 35
 }
34 36
 
35 37
 dependencies {
36
-    implementation(kotlin("stdlib-jdk8", "1.3.20"))
38
+    implementation(kotlin("stdlib-jdk8", "1.3.21"))
37 39
     implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.1.1")
38 40
     implementation("io.ktor:ktor-network:1.1.2")
39 41
     implementation("io.ktor:ktor-network-tls:1.1.2")
40 42
 
41 43
     testImplementation("com.nhaarman.mockitokotlin2:mockito-kotlin:2.1.0")
42
-    testImplementation("org.junit.jupiter:junit-jupiter-api:5.3.1")
43
-    testImplementation("org.junit.jupiter:junit-jupiter-params:5.3.1")
44
-    testRuntime("org.junit.jupiter:junit-jupiter-engine:5.3.1")
44
+    testImplementation("org.junit.jupiter:junit-jupiter-api:5.3.2")
45
+    testImplementation("org.junit.jupiter:junit-jupiter-params:5.3.2")
46
+    testRuntime("org.junit.jupiter:junit-jupiter-engine:5.3.2")
45 47
 }
46 48
 
47 49
 java {
@@ -86,7 +88,7 @@ tasks {
86 88
     }
87 89
 
88 90
     withType<Wrapper> {
89
-        gradleVersion = "5.1.1"
91
+        gradleVersion = "5.2"
90 92
     }
91 93
 
92 94
     withType<KotlinCompile> {

BIN
gradle/wrapper/gradle-wrapper.jar View File


+ 2
- 2
gradle/wrapper/gradle-wrapper.properties View File

@@ -1,5 +1,5 @@
1 1
 distributionBase=GRADLE_USER_HOME
2 2
 distributionPath=wrapper/dists
3
-distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-bin.zip
3
+distributionUrl=https\://services.gradle.org/distributions/gradle-5.2-bin.zip
4 4
 zipStoreBase=GRADLE_USER_HOME
5
-zipStorePath=wrapper/dists
5
+zipStorePath=wrapper/dists

+ 1
- 1
gradlew View File

@@ -28,7 +28,7 @@ APP_NAME="Gradle"
28 28
 APP_BASE_NAME=`basename "$0"`
29 29
 
30 30
 # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
31
-DEFAULT_JVM_OPTS=""
31
+DEFAULT_JVM_OPTS='"-Xmx64m"'
32 32
 
33 33
 # Use the maximum available, or set MAX_FD != -1 to use that value.
34 34
 MAX_FD="maximum"

+ 1
- 1
gradlew.bat View File

@@ -14,7 +14,7 @@ set APP_BASE_NAME=%~n0
14 14
 set APP_HOME=%DIRNAME%
15 15
 
16 16
 @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
17
-set DEFAULT_JVM_OPTS=
17
+set DEFAULT_JVM_OPTS="-Xmx64m"
18 18
 
19 19
 @rem Find java.exe
20 20
 if defined JAVA_HOME goto findJavaFromJavaHome

Loading…
Cancel
Save