Use no-tzdb version of threetenbp on compile time

This commit is contained in:
Mikołaj Pich 2019-04-18 01:47:16 +02:00
parent 3a6edfc93c
commit 3335bd6ed9
No known key found for this signature in database
GPG key ID: F62B26E36D4C4BAA

View file

@ -1,6 +1,6 @@
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.3.21'
id 'org.jetbrains.kotlin.jvm' version '1.3.30'
id 'jacoco'
id 'com.jfrog.bintray' version '1.8.4'
id 'com.github.dcendents.android-maven' version '2.1'
@ -31,6 +31,7 @@ ext {
jspoon = "1.3.2"
okhttp3 = "3.12.1"
retrofit = "2.5.0"
threetenbp = "1.3.8"
}
dependencies {
@ -48,7 +49,8 @@ dependencies {
implementation "com.github.jonyas:RxJava2Reauth:72abb94"
implementation "org.threeten:threetenbp:1.3.8"
compileOnly "org.threeten:threetenbp:$threetenbp:no-tzdb"
testImplementation "org.threeten:threetenbp:$threetenbp"
testImplementation "com.squareup.okhttp3:mockwebserver:$okhttp3"
testImplementation "junit:junit:4.12"