Skip to content

Commit ba94f35

Browse files
committed
update spek. spotless, nexus dependencies
1 parent 34552b2 commit ba94f35

File tree

1 file changed

+18
-13
lines changed

1 file changed

+18
-13
lines changed

build.gradle

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
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'
44
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'
59

610
repositories { jcenter() }
711

@@ -12,9 +16,9 @@ buildscript {
1216
}
1317

1418
plugins {
15-
id "com.diffplug.gradle.spotless" version "3.24.1"
19+
id "com.diffplug.gradle.spotless" version "3.25.0"
1620
id "base"
17-
id "io.codearte.nexus-staging" version "0.21.0"
21+
id "io.codearte.nexus-staging" version "0.21.1"
1822
id "com.bmuschko.nexus" version "2.3.1"
1923
}
2024

@@ -34,24 +38,24 @@ dependencies {
3438
// Actual library dependencies
3539
compile 'com.neovisionaries:nv-i18n:1.26'
3640

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:$moshi_version"
42+
compile "com.squareup.moshi:moshi-kotlin:$moshi_version"
43+
compile "org.json:json:$json_version"
4044

41-
compile "com.google.http-client:google-http-client:1.31.0"
45+
compile "com.google.http-client:google-http-client:$google_http_client_version"
4246

4347
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
4448
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
45-
49+
4650
// Spek testing requirements
47-
testCompile('org.spekframework.spek2:spek-dsl-jvm:2.0.0') {
51+
testCompile("org.spekframework.spek2:spek-dsl-jvm:$spek_version") {
4852
exclude group: 'org.jetbrains.kotlin'
4953
}
50-
testRuntimeOnly('org.spekframework.spek2:spek-runner-junit5:2.0.0') {
54+
testRuntimeOnly("org.spekframework.spek2:spek-runner-junit5:$spek_version") {
5155
exclude group: 'org.junit.platform'
5256
exclude group: 'org.jetbrains.kotlin'
5357
}
54-
58+
5559
testCompile "org.junit.jupiter:junit-jupiter-api:$junit_version"
5660
testCompile "com.google.code.gson:gson:2.8.5"
5761
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junit_version"
@@ -75,7 +79,8 @@ dokka {
7579
spotless {
7680
kotlin {
7781
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
7984
}
8085
}
8186

0 commit comments

Comments
 (0)