Browse Source

Update dependencies, gradle

Add dokka and a dependency checker plugin
tags/v0.7.0
Chris Smith 5 years 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
 plugins {
6
 plugins {
7
     `maven-publish`
7
     `maven-publish`
8
     jacoco
8
     jacoco
9
-    kotlin("jvm") version "1.3.20"
9
+    kotlin("jvm") version "1.3.21"
10
     id("com.jfrog.bintray") version "1.8.4"
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
 jacoco {
15
 jacoco {
21
     all {
23
     all {
22
         resolutionStrategy.eachDependency {
24
         resolutionStrategy.eachDependency {
23
             if (requested.group == "org.jetbrains.kotlin") {
25
             if (requested.group == "org.jetbrains.kotlin") {
24
-                useVersion("1.3.20")
26
+                useVersion("1.3.21")
25
             }
27
             }
26
         }
28
         }
27
     }
29
     }
33
 }
35
 }
34
 
36
 
35
 dependencies {
37
 dependencies {
36
-    implementation(kotlin("stdlib-jdk8", "1.3.20"))
38
+    implementation(kotlin("stdlib-jdk8", "1.3.21"))
37
     implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.1.1")
39
     implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.1.1")
38
     implementation("io.ktor:ktor-network:1.1.2")
40
     implementation("io.ktor:ktor-network:1.1.2")
39
     implementation("io.ktor:ktor-network-tls:1.1.2")
41
     implementation("io.ktor:ktor-network-tls:1.1.2")
40
 
42
 
41
     testImplementation("com.nhaarman.mockitokotlin2:mockito-kotlin:2.1.0")
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
 java {
49
 java {
86
     }
88
     }
87
 
89
 
88
     withType<Wrapper> {
90
     withType<Wrapper> {
89
-        gradleVersion = "5.1.1"
91
+        gradleVersion = "5.2"
90
     }
92
     }
91
 
93
 
92
     withType<KotlinCompile> {
94
     withType<KotlinCompile> {

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


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

1
 distributionBase=GRADLE_USER_HOME
1
 distributionBase=GRADLE_USER_HOME
2
 distributionPath=wrapper/dists
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
 zipStoreBase=GRADLE_USER_HOME
4
 zipStoreBase=GRADLE_USER_HOME
5
-zipStorePath=wrapper/dists
5
+zipStorePath=wrapper/dists

+ 1
- 1
gradlew View File

28
 APP_BASE_NAME=`basename "$0"`
28
 APP_BASE_NAME=`basename "$0"`
29
 
29
 
30
 # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
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
 # Use the maximum available, or set MAX_FD != -1 to use that value.
33
 # Use the maximum available, or set MAX_FD != -1 to use that value.
34
 MAX_FD="maximum"
34
 MAX_FD="maximum"

+ 1
- 1
gradlew.bat View File

14
 set APP_HOME=%DIRNAME%
14
 set APP_HOME=%DIRNAME%
15
 
15
 
16
 @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
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
 @rem Find java.exe
19
 @rem Find java.exe
20
 if defined JAVA_HOME goto findJavaFromJavaHome
20
 if defined JAVA_HOME goto findJavaFromJavaHome

Loading…
Cancel
Save