build: extract all versions to ext

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-10-08 00:22:12 +05:30
parent 7544eb96fc
commit 196940778f
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
3 changed files with 24 additions and 16 deletions

View file

@ -3,15 +3,12 @@ plugins {
}
dependencies {
def moshi_version = "1.9.3"
def retrofit_version = "2.9.0"
implementation project(":model")
implementation "com.squareup.retrofit2:retrofit:$retrofit_version"
implementation "com.squareup.retrofit2:converter-moshi:$retrofit_version"
kaptTest "com.squareup.moshi:moshi-kotlin-codegen:$moshi_version"
testImplementation 'junit:junit:4.13'
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9"
// retrofit uses 3.14.9, so shall we.
testImplementation "junit:junit:$junit_version"
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
//noinspection GradleDependency
testImplementation "com.squareup.okhttp3:mockwebserver:3.14.9"
testImplementation "com.squareup.okhttp3:mockwebserver:$okhttp_version"
}