2013-05-25 23:14:46 +02:00
|
|
|
buildscript {
|
2018-05-23 15:57:04 +02:00
|
|
|
ext {
|
2018-05-23 19:36:52 +02:00
|
|
|
buildConfig = [
|
2019-02-09 02:15:01 +01:00
|
|
|
'compileSdk': 28,
|
2018-12-14 01:44:13 +01:00
|
|
|
'minSdk': 19,
|
2019-01-22 17:16:07 +01:00
|
|
|
'buildTools': '28.0.3'
|
2018-05-23 19:36:52 +02:00
|
|
|
]
|
2018-05-23 15:57:04 +02:00
|
|
|
|
2018-05-23 19:36:52 +02:00
|
|
|
versions = [
|
2019-02-13 20:32:14 +01:00
|
|
|
'kotlin': '1.3.20',
|
2019-02-09 05:23:37 +01:00
|
|
|
'androidxAppCompat': '1.0.2',
|
|
|
|
'androidxRecyclerView': '1.0.0',
|
|
|
|
'androidxLifecycleExtensions': '2.0.0',
|
|
|
|
'androidxAnnotation': '1.0.1',
|
2019-04-14 15:44:14 +02:00
|
|
|
'androidxNavigation': '2.0.0',
|
2019-04-06 21:08:12 +02:00
|
|
|
'androidxConstraintLayout': '1.1.3',
|
2019-05-19 23:49:09 +02:00
|
|
|
'materialComponents': '1.0.0',
|
2019-02-09 05:23:37 +01:00
|
|
|
'coreKtx': '1.0.1',
|
2019-02-09 06:09:50 +01:00
|
|
|
'preferencesFix': '1.0.0',
|
2018-05-23 19:36:52 +02:00
|
|
|
'okio': '1.14.0',
|
|
|
|
'timber': '4.5.1',
|
|
|
|
'koin': '0.9.1',
|
|
|
|
'commonsIo': '2.4',
|
2018-07-08 03:27:52 +02:00
|
|
|
'mime4j': '0.8.1',
|
2018-05-23 19:36:52 +02:00
|
|
|
|
2019-01-16 13:52:46 +01:00
|
|
|
// Note: Only use 3.12.x versions until we raise minSdkVersion to 21
|
|
|
|
'okhttp': '3.12.1',
|
|
|
|
|
2019-02-09 05:23:37 +01:00
|
|
|
'androidxTestRunner': '1.1.1',
|
2018-05-23 19:36:52 +02:00
|
|
|
'junit': '4.12',
|
|
|
|
'robolectric': '3.7.1',
|
|
|
|
'mockito': '2.18.0',
|
|
|
|
'mockitoKotlin': '1.5.0',
|
|
|
|
'truth': '0.35'
|
|
|
|
]
|
2019-11-13 16:10:14 +01:00
|
|
|
|
|
|
|
javaVersion = JavaVersion.VERSION_1_7
|
2018-05-23 15:57:04 +02:00
|
|
|
}
|
|
|
|
|
2014-09-18 15:18:41 +02:00
|
|
|
repositories {
|
2018-10-24 03:29:21 +02:00
|
|
|
mavenCentral()
|
2018-02-17 04:05:09 +01:00
|
|
|
google()
|
2018-10-24 03:29:21 +02:00
|
|
|
jcenter()
|
2014-09-18 15:18:41 +02:00
|
|
|
}
|
2013-05-25 23:14:46 +02:00
|
|
|
|
2014-09-18 15:18:41 +02:00
|
|
|
dependencies {
|
2019-04-02 04:12:29 +02:00
|
|
|
classpath 'com.android.tools.build:gradle:3.3.2'
|
2018-05-23 19:36:52 +02:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
|
|
|
|
classpath "org.jetbrains.kotlin:kotlin-android-extensions:${versions.kotlin}"
|
2014-09-18 15:18:41 +02:00
|
|
|
}
|
2013-05-25 23:14:46 +02:00
|
|
|
}
|
|
|
|
|
2015-12-21 02:11:37 +01:00
|
|
|
project.ext {
|
|
|
|
testCoverage = project.hasProperty('testCoverage')
|
|
|
|
}
|
2014-08-31 01:10:13 +02:00
|
|
|
|
|
|
|
subprojects {
|
2018-02-17 04:33:30 +01:00
|
|
|
repositories {
|
2018-10-24 03:29:21 +02:00
|
|
|
mavenCentral()
|
2018-02-17 04:33:30 +01:00
|
|
|
google()
|
2018-10-24 03:29:21 +02:00
|
|
|
jcenter()
|
2019-10-05 17:19:30 +02:00
|
|
|
maven { url 'https://jitpack.io' }
|
2018-02-17 04:33:30 +01:00
|
|
|
}
|
2018-07-01 13:39:01 +02:00
|
|
|
|
|
|
|
configurations.all {
|
|
|
|
resolutionStrategy {
|
2019-02-09 05:23:37 +01:00
|
|
|
force "androidx.annotation:annotation:${versions.androidxAnnotation}"
|
2019-02-09 02:15:01 +01:00
|
|
|
|
2019-02-09 05:23:37 +01:00
|
|
|
// org.koin:koin-android-architecture depends on android.arch.lifecycle:extensions
|
|
|
|
force "androidx.lifecycle:lifecycle-extensions:${versions.androidxLifecycleExtensions}"
|
2019-02-09 02:15:01 +01:00
|
|
|
|
|
|
|
// com.github.amlcurran.showcaseview:library depends on com.android.support:support-v4
|
2019-02-09 05:23:37 +01:00
|
|
|
force "androidx.legacy:legacy-support-v4:1.0.0"
|
2018-07-01 13:39:01 +02:00
|
|
|
}
|
|
|
|
}
|
2014-08-31 01:10:13 +02:00
|
|
|
}
|