1
- import org.jetbrains.dokka.gradle.DokkaTask
2
1
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
3
2
4
3
plugins {
5
- kotlin(" jvm" ) version " 1.3.61 "
6
- id(" com.diffplug.gradle. spotless" ) version " 3.28.1 "
7
- id(" org.jetbrains.dokka" ) version " 0.10.1 "
4
+ kotlin(" jvm" ) version " 1.4.21 "
5
+ id(" com.diffplug.spotless" ) version " 5.9.0 "
6
+ id(" org.jetbrains.dokka" ) version " 1.4.20 "
8
7
`java- library`
9
8
`maven- publish`
10
9
signing
@@ -24,16 +23,15 @@ repositories {
24
23
}
25
24
26
25
dependencies {
27
- api(" com.graphql-java:graphql-java:12.+" )
28
- implementation(kotlin(" stdlib" ))
29
- implementation(" com.jayway.jsonpath:json-path:2.4.+" )
26
+ api(" com.graphql-java:graphql-java:15.+" )
27
+ implementation(" com.jayway.jsonpath:json-path:2.5.+" )
30
28
implementation(" com.google.code.gson:gson:2.8.6" )
31
29
implementation(" org.opentest4j:opentest4j:1.2.0" )
32
30
implementation(" org.slf4j:slf4j-api:1.7.+" )
33
31
testImplementation(kotlin(" reflect" ))
34
32
testImplementation(" org.slf4j:slf4j-simple:1.7.+" )
35
- testImplementation(" org.junit.jupiter:junit-jupiter:5.5.2 " )
36
- testImplementation(" com.willowtreeapps.assertk:assertk-jvm:0.22 " )
33
+ testImplementation(" org.junit.jupiter:junit-jupiter:5.7.0 " )
34
+ testImplementation(" com.willowtreeapps.assertk:assertk-jvm:0.23 " )
37
35
}
38
36
39
37
tasks {
@@ -53,11 +51,6 @@ tasks {
53
51
from(sourceSets.main.get().allSource)
54
52
}
55
53
56
- register<DokkaTask >(" dokkaJavadoc" ) {
57
- outputFormat = " html"
58
- outputDirectory = " $buildDir /javadoc"
59
- }
60
-
61
54
javadoc {
62
55
dependsOn(" dokkaJavadoc" )
63
56
}
@@ -71,10 +64,10 @@ tasks {
71
64
72
65
spotless {
73
66
kotlin {
74
- ktlint(" 0.36 .0" )
67
+ ktlint(" 0.40 .0" )
75
68
}
76
69
kotlinGradle {
77
- ktlint(" 0.36 .0" )
70
+ ktlint(" 0.40 .0" )
78
71
}
79
72
}
80
73
0 commit comments