1
1
buildscript {
2
- ext. kotlin_version = ' 1.3.41 '
3
- ext. dokka_version = ' 0.9.17 '
2
+ ext. kotlin_version = ' 1.3.51 '
3
+ ext. dokka_version = ' 0.10.0 '
4
4
ext. junit_version = ' 5.5.1'
5
+ ext. moshi_version = ' 1.8.0'
6
+ ext. json_version = ' 20190722'
7
+ ext. google_http_client_version = ' 1.32.1'
8
+ ext. spek_verson = ' 2.0.8'
5
9
6
10
repositories { jcenter() }
7
11
@@ -12,9 +16,9 @@ buildscript {
12
16
}
13
17
14
18
plugins {
15
- id " com.diffplug.gradle.spotless" version " 3.24.1 "
19
+ id " com.diffplug.gradle.spotless" version " 3.25.0 "
16
20
id " base"
17
- id " io.codearte.nexus-staging" version " 0.21.0 "
21
+ id " io.codearte.nexus-staging" version " 0.21.1 "
18
22
id " com.bmuschko.nexus" version " 2.3.1"
19
23
}
20
24
@@ -34,24 +38,24 @@ dependencies {
34
38
// Actual library dependencies
35
39
compile ' com.neovisionaries:nv-i18n:1.26'
36
40
37
- compile " com.squareup.moshi:moshi:1.8.0 "
38
- compile " com.squareup.moshi:moshi-kotlin:1.8.0 "
39
- compile " org.json:json:20190722 "
41
+ compile " com.squareup.moshi:moshi:$m oshi_version "
42
+ compile " com.squareup.moshi:moshi-kotlin:$m oshi_version "
43
+ compile " org.json:json:$j son_version "
40
44
41
- compile " com.google.http-client:google-http-client:1.31.0 "
45
+ compile " com.google.http-client:google-http-client:$g oogle_http_client_version "
42
46
43
47
compile " org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version "
44
48
compile " org.jetbrains.kotlin:kotlin-reflect:$kotlin_version "
45
-
49
+
46
50
// Spek testing requirements
47
- testCompile(' org.spekframework.spek2:spek-dsl-jvm:2.0.0 ' ) {
51
+ testCompile(" org.spekframework.spek2:spek-dsl-jvm:$s pek_version " ) {
48
52
exclude group : ' org.jetbrains.kotlin'
49
53
}
50
- testRuntimeOnly(' org.spekframework.spek2:spek-runner-junit5:2.0.0 ' ) {
54
+ testRuntimeOnly(" org.spekframework.spek2:spek-runner-junit5:$s pek_version " ) {
51
55
exclude group : ' org.junit.platform'
52
56
exclude group : ' org.jetbrains.kotlin'
53
57
}
54
-
58
+
55
59
testCompile " org.junit.jupiter:junit-jupiter-api:$junit_version "
56
60
testCompile " com.google.code.gson:gson:2.8.5"
57
61
testRuntimeOnly " org.junit.jupiter:junit-jupiter-engine:$junit_version "
@@ -75,7 +79,8 @@ dokka {
75
79
spotless {
76
80
kotlin {
77
81
ktlint()
78
- licenseHeader ' /* Spotify Web API - Kotlin Wrapper; MIT License, 2019; Original author: Adam Ratzman */' // License header
82
+ licenseHeader ' /* Spotify Web API - Kotlin Wrapper; MIT License, 2019; Original author: Adam Ratzman */'
83
+ // License header
79
84
}
80
85
}
81
86
0 commit comments