2017-01-14 21:44:28 +01:00
|
|
|
ext.versions = [
|
2021-10-14 17:17:32 +02:00
|
|
|
minSdk : 21,
|
2021-11-01 17:07:18 +01:00
|
|
|
targetSdk : 30,
|
|
|
|
compileSdk : 30,
|
2021-05-06 15:40:53 +02:00
|
|
|
// You need to run ./gradlew wrapper after updating the version
|
2021-10-13 18:48:56 +02:00
|
|
|
gradle : '7.2',
|
2017-01-14 21:44:28 +01:00
|
|
|
|
2021-05-08 18:11:09 +02:00
|
|
|
navigation : "2.3.5",
|
2021-07-09 09:18:46 +02:00
|
|
|
gradlePlugin : "4.2.2",
|
2021-05-24 10:14:46 +02:00
|
|
|
androidxcore : "1.5.0",
|
2020-06-13 19:04:31 +02:00
|
|
|
ktlint : "0.37.1",
|
2021-10-13 18:48:56 +02:00
|
|
|
ktlintGradle : "10.2.0",
|
2021-09-06 13:05:46 +02:00
|
|
|
detekt : "1.18.1",
|
2021-05-05 10:57:18 +02:00
|
|
|
jacoco : "0.8.7",
|
2021-02-04 20:15:58 +01:00
|
|
|
preferences : "1.1.1",
|
2021-05-11 13:00:16 +02:00
|
|
|
media : "1.3.1",
|
2017-01-14 21:44:28 +01:00
|
|
|
|
2020-06-17 15:08:30 +02:00
|
|
|
androidSupport : "28.0.0",
|
2020-06-05 17:09:33 +02:00
|
|
|
androidLegacySupport : "1.0.0",
|
2021-07-09 11:56:48 +02:00
|
|
|
androidSupportDesign : "1.4.0",
|
2021-10-04 18:45:36 +02:00
|
|
|
constraintLayout : "2.1.1",
|
2020-06-05 17:09:33 +02:00
|
|
|
multidex : "2.0.1",
|
2021-05-18 12:30:45 +02:00
|
|
|
room : "2.3.0",
|
2021-10-04 17:34:50 +02:00
|
|
|
kotlin : "1.5.31",
|
2021-09-15 16:12:46 +02:00
|
|
|
kotlinxCoroutines : "1.5.2-native-mt",
|
2020-09-18 09:37:19 +02:00
|
|
|
viewModelKtx : "2.2.0",
|
2017-03-02 06:37:51 +01:00
|
|
|
|
2021-05-06 10:26:13 +02:00
|
|
|
retrofit : "2.6.4",
|
2018-05-15 21:58:33 +02:00
|
|
|
jackson : "2.9.5",
|
2021-04-19 18:26:28 +02:00
|
|
|
okhttp : "3.12.13",
|
2021-05-27 12:15:56 +02:00
|
|
|
koin : "3.0.2",
|
2018-06-26 21:11:39 +02:00
|
|
|
picasso : "2.71828",
|
2021-05-20 18:41:15 +02:00
|
|
|
sortListView : "1.0.1",
|
2017-03-02 06:37:51 +01:00
|
|
|
|
2021-05-12 13:36:22 +02:00
|
|
|
junit4 : "4.13.2",
|
2021-10-04 17:45:21 +02:00
|
|
|
junit5 : "5.8.1",
|
2021-10-20 19:09:12 +02:00
|
|
|
mockito : "4.0.0",
|
2021-06-08 21:23:36 +02:00
|
|
|
mockitoKotlin : "3.2.0",
|
2021-07-12 13:05:39 +02:00
|
|
|
kluent : "1.68",
|
2021-05-12 08:26:57 +02:00
|
|
|
apacheCodecs : "1.15",
|
2021-07-09 11:23:02 +02:00
|
|
|
robolectric : "4.6.1",
|
2020-09-30 14:47:59 +02:00
|
|
|
timber : "4.7.1",
|
2020-11-23 13:55:28 +01:00
|
|
|
fastScroll : "2.0.1",
|
2021-10-14 17:17:32 +02:00
|
|
|
colorPicker : "2.2.3",
|
2017-01-14 21:44:28 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
ext.gradlePlugins = [
|
2021-04-17 14:32:04 +02:00
|
|
|
gradle : "com.android.tools.build:gradle:$versions.gradlePlugin",
|
2021-02-04 20:15:58 +01:00
|
|
|
kotlin : "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin",
|
|
|
|
ktlintGradle : "org.jlleitschuh.gradle:ktlint-gradle:$versions.ktlintGradle",
|
2021-04-22 20:51:12 +02:00
|
|
|
detekt : "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:$versions.detekt",
|
2021-02-04 20:15:58 +01:00
|
|
|
jacoco : "org.jacoco:org.jacoco.core:$versions.jacoco",
|
2017-01-14 21:44:28 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
ext.androidSupport = [
|
2021-04-22 09:31:27 +02:00
|
|
|
core : "androidx.core:core-ktx:$versions.androidxcore",
|
2021-02-04 20:15:58 +01:00
|
|
|
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",
|
|
|
|
constraintLayout : "androidx.constraintlayout:constraintlayout:$versions.constraintLayout",
|
|
|
|
room : "androidx.room:room-compiler:$versions.room",
|
|
|
|
roomRuntime : "androidx.room:room-runtime:$versions.room",
|
|
|
|
roomKtx : "androidx.room:room-ktx:$versions.room",
|
|
|
|
viewModelKtx : "androidx.lifecycle:lifecycle-viewmodel-ktx:$versions.viewModelKtx",
|
|
|
|
navigationFragment : "androidx.navigation:navigation-fragment:$versions.navigation",
|
|
|
|
navigationUi : "androidx.navigation:navigation-ui:$versions.navigation",
|
|
|
|
navigationFragmentKtx : "androidx.navigation:navigation-fragment-ktx:$versions.navigation",
|
|
|
|
navigationUiKtx : "androidx.navigation:navigation-ui-ktx:$versions.navigation",
|
|
|
|
navigationFeature : "androidx.navigation:navigation-dynamic-features-fragment:$versions.navigation",
|
|
|
|
preferences : "androidx.preference:preference:$versions.preferences",
|
2021-04-22 09:31:27 +02:00
|
|
|
media : "androidx.media:media:$versions.media",
|
2017-02-06 19:36:24 +01:00
|
|
|
]
|
2017-03-02 06:37:51 +01:00
|
|
|
|
|
|
|
ext.other = [
|
2017-07-23 19:46:06 +02:00
|
|
|
kotlinStdlib : "org.jetbrains.kotlin:kotlin-stdlib:$versions.kotlin",
|
2017-12-21 10:52:43 +01:00
|
|
|
kotlinReflect : "org.jetbrains.kotlin:kotlin-reflect:$versions.kotlin",
|
2020-09-18 09:37:19 +02:00
|
|
|
kotlinxCoroutines : "org.jetbrains.kotlinx:kotlinx-coroutines-android:$versions.kotlinxCoroutines",
|
2017-03-02 06:37:51 +01:00
|
|
|
retrofit : "com.squareup.retrofit2:retrofit:$versions.retrofit",
|
|
|
|
gsonConverter : "com.squareup.retrofit2:converter-gson:$versions.retrofit",
|
2017-04-01 18:40:14 +02:00
|
|
|
jacksonConverter : "com.squareup.retrofit2:converter-jackson:$versions.retrofit",
|
|
|
|
jacksonKotlin : "com.fasterxml.jackson.module:jackson-module-kotlin:$versions.jackson",
|
2017-07-22 22:49:14 +02:00
|
|
|
okhttpLogging : "com.squareup.okhttp3:logging-interceptor:$versions.okhttp",
|
2021-05-08 22:50:21 +02:00
|
|
|
koinCore : "io.insert-koin:koin-core:$versions.koin",
|
|
|
|
koinAndroid : "io.insert-koin:koin-android:$versions.koin",
|
|
|
|
koinViewModel : "io.insert-koin:koin-android-viewmodel:$versions.koin",
|
2018-06-26 21:11:39 +02:00
|
|
|
picasso : "com.squareup.picasso:picasso:$versions.picasso",
|
2020-09-30 14:47:59 +02:00
|
|
|
timber : "com.jakewharton.timber:timber:$versions.timber",
|
2020-11-23 13:55:28 +01:00
|
|
|
fastScroll : "com.simplecityapps:recyclerview-fastscroll:$versions.fastScroll",
|
2021-05-20 18:41:15 +02:00
|
|
|
sortListView : "com.github.tzugen:drag-sort-listview:$versions.sortListView",
|
2021-10-14 17:17:32 +02:00
|
|
|
colorPickerView : "com.github.skydoves:colorpickerview:$versions.colorPicker",
|
2017-03-02 06:37:51 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
ext.testing = [
|
2018-10-06 14:49:06 +02:00
|
|
|
junit : "junit:junit:$versions.junit4",
|
|
|
|
junitVintage : "org.junit.vintage:junit-vintage-engine:$versions.junit5",
|
2017-03-02 06:37:51 +01:00
|
|
|
kotlinJunit : "org.jetbrains.kotlin:kotlin-test-junit:$versions.kotlin",
|
2021-06-08 21:23:36 +02:00
|
|
|
mockitoKotlin : "org.mockito.kotlin:mockito-kotlin:$versions.mockitoKotlin",
|
2017-12-02 21:21:23 +01:00
|
|
|
mockito : "org.mockito:mockito-core:$versions.mockito",
|
|
|
|
mockitoInline : "org.mockito:mockito-inline:$versions.mockito",
|
2017-03-02 06:37:51 +01:00
|
|
|
kluent : "org.amshove.kluent:kluent:$versions.kluent",
|
2018-06-26 21:11:39 +02:00
|
|
|
kluentAndroid : "org.amshove.kluent:kluent-android:$versions.kluent",
|
2017-07-23 19:46:06 +02:00
|
|
|
mockWebServer : "com.squareup.okhttp3:mockwebserver:$versions.okhttp",
|
|
|
|
apacheCodecs : "commons-codec:commons-codec:$versions.apacheCodecs",
|
2021-05-12 08:27:07 +02:00
|
|
|
robolectric : "org.robolectric:robolectric:$versions.robolectric"
|
2017-03-02 06:37:51 +01:00
|
|
|
]
|