86 lines
4.1 KiB
Groovy
86 lines
4.1 KiB
Groovy
ext.versions = [
|
|
minSdk : 14,
|
|
targetSdk : 28,
|
|
compileSdk : 28,
|
|
gradle : '6.5',
|
|
|
|
androidTools : "4.0.0",
|
|
ktlint : "0.37.1",
|
|
ktlintGradle : "9.2.1",
|
|
detekt : "1.0.0.RC6-4",
|
|
jacoco : "0.8.5",
|
|
|
|
androidSupport : "28.0.0",
|
|
androidLegacySupport : "1.0.0",
|
|
androidSupportDesign : "1.0.0",
|
|
multidex : "2.0.1",
|
|
|
|
kotlin : "1.3.72",
|
|
|
|
retrofit : "2.4.0",
|
|
jackson : "2.9.5",
|
|
okhttp : "3.10.0",
|
|
semver : "1.0.0",
|
|
twitterSerial : "0.1.6",
|
|
koin : "1.0.0-beta-3",
|
|
picasso : "2.71828",
|
|
|
|
junit4 : "4.12",
|
|
junit5 : "5.3.1",
|
|
mockito : "3.5.5",
|
|
mockitoKotlin : "1.5.0",
|
|
kluent : "1.35",
|
|
apacheCodecs : "1.10",
|
|
testRunner : "1.0.1",
|
|
robolectric : "3.8",
|
|
dexter : "6.1.2",
|
|
]
|
|
|
|
ext.gradlePlugins = [
|
|
androidTools : "com.android.tools.build:gradle:$versions.androidTools",
|
|
kotlin : "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin",
|
|
ktlintGradle : "org.jlleitschuh.gradle:ktlint-gradle:$versions.ktlintGradle",
|
|
detekt : "gradle.plugin.io.gitlab.arturbosch.detekt:detekt-gradle-plugin:$versions.detekt",
|
|
jacoco : "org.jacoco:org.jacoco.core:$versions.jacoco"
|
|
]
|
|
|
|
ext.androidSupport = [
|
|
support : "androidx.legacy:legacy-support-v4:$versions.androidLegacySupport",
|
|
design : "com.google.android.material:material:$versions.androidSupportDesign",
|
|
annotations: "com.android.support:support-annotations:$versions.androidSupport",
|
|
multidex : "androidx.multidex:multidex:$versions.multidex",
|
|
]
|
|
|
|
ext.other = [
|
|
kotlinStdlib : "org.jetbrains.kotlin:kotlin-stdlib:$versions.kotlin",
|
|
kotlinReflect : "org.jetbrains.kotlin:kotlin-reflect:$versions.kotlin",
|
|
retrofit : "com.squareup.retrofit2:retrofit:$versions.retrofit",
|
|
gsonConverter : "com.squareup.retrofit2:converter-gson:$versions.retrofit",
|
|
jacksonConverter : "com.squareup.retrofit2:converter-jackson:$versions.retrofit",
|
|
jacksonKotlin : "com.fasterxml.jackson.module:jackson-module-kotlin:$versions.jackson",
|
|
okhttpLogging : "com.squareup.okhttp3:logging-interceptor:$versions.okhttp",
|
|
semver : "net.swiftzer.semver:semver:$versions.semver",
|
|
twitterSerial : "com.twitter.serial:serial:$versions.twitterSerial",
|
|
koinCore : "org.koin:koin-core:$versions.koin",
|
|
koinJava : "org.koin:koin-java:$versions.koin",
|
|
koinAndroid : "org.koin:koin-android:$versions.koin",
|
|
picasso : "com.squareup.picasso:picasso:$versions.picasso",
|
|
dexter : "com.karumi:dexter:$versions.dexter",
|
|
]
|
|
|
|
ext.testing = [
|
|
junit : "junit:junit:$versions.junit4",
|
|
junitVintage : "org.junit.vintage:junit-vintage-engine:$versions.junit5",
|
|
kotlinJunit : "org.jetbrains.kotlin:kotlin-test-junit:$versions.kotlin",
|
|
mockitoKotlin : "com.nhaarman:mockito-kotlin:$versions.mockitoKotlin",
|
|
mockito : "org.mockito:mockito-core:$versions.mockito",
|
|
mockitoInline : "org.mockito:mockito-inline:$versions.mockito",
|
|
kluent : "org.amshove.kluent:kluent:$versions.kluent",
|
|
kluentAndroid : "org.amshove.kluent:kluent-android:$versions.kluent",
|
|
mockWebServer : "com.squareup.okhttp3:mockwebserver:$versions.okhttp",
|
|
apacheCodecs : "commons-codec:commons-codec:$versions.apacheCodecs",
|
|
testRunner : "com.android.support.test:runner:$versions.testRunner",
|
|
robolectric : "org.robolectric:robolectric:$versions.robolectric",
|
|
koinTest : "org.koin:koin-test:$versions.koin"
|
|
]
|