@@ -5,7 +5,7 @@ buildscript {
5
5
ext. moshi_version = ' 1.8.0'
6
6
ext. json_version = ' 20190722'
7
7
ext. google_http_client_version = ' 1.32.1'
8
- ext. spek_verson = ' 2.0.8'
8
+ ext. spek_version = ' 2.0.8'
9
9
10
10
repositories { jcenter() }
11
11
@@ -51,6 +51,7 @@ dependencies {
51
51
testCompile(" org.spekframework.spek2:spek-dsl-jvm:$spek_version " ) {
52
52
exclude group : ' org.jetbrains.kotlin'
53
53
}
54
+
54
55
testRuntimeOnly(" org.spekframework.spek2:spek-runner-junit5:$spek_version " ) {
55
56
exclude group : ' org.junit.platform'
56
57
exclude group : ' org.jetbrains.kotlin'
@@ -65,14 +66,20 @@ dokka {
65
66
outputFormat = ' javadoc'
66
67
outputDirectory = ' docs'
67
68
68
- jdkVersion = 8
69
- includeNonPublic = false
70
- impliedPlatforms = [" JVM" ]
69
+ configuration {
70
+ jdkVersion = 8
71
+ includeNonPublic = false
72
+ impliedPlatforms = [" JVM" ]
73
+
74
+ sourceLink {
75
+ path = " src/main/kotlin"
76
+ url = " https://github.com/adamint/spotify-web-api-kotlin/tree/master/src/main/kotlin"
77
+ lineSuffix = " #L"
78
+ }
71
79
72
- linkMapping {
73
- dir = " src/main/kotlin"
74
- url = " https://github.com/adamint/spotify-web-api-kotlin/tree/master/src/main/kotlin"
75
- suffix = " #L"
80
+ externalDocumentationLink {
81
+ url = new URL (" https://adamint.github.io/spotify-web-api-kotlin/" )
82
+ }
76
83
}
77
84
}
78
85
0 commit comments