2013-05-25 21:14:46 +00:00
|
|
|
buildscript {
|
2018-05-23 13:57:04 +00:00
|
|
|
ext {
|
2018-05-23 17:36:52 +00:00
|
|
|
buildConfig = [
|
2019-11-17 00:40:36 +00:00
|
|
|
'compileSdk': 29,
|
2019-11-17 00:50:00 +00:00
|
|
|
'targetSdk': 28,
|
2019-11-19 14:00:08 +00:00
|
|
|
'minSdk': 21,
|
2020-04-15 21:20:20 +00:00
|
|
|
'buildTools': '29.0.3',
|
2019-11-13 16:35:46 +00:00
|
|
|
'robolectricSdk': 28
|
2018-05-23 17:36:52 +00:00
|
|
|
]
|
2018-05-23 13:57:04 +00:00
|
|
|
|
2018-05-23 17:36:52 +00:00
|
|
|
versions = [
|
2020-04-15 18:33:00 +00:00
|
|
|
'kotlin': '1.3.72',
|
2020-04-15 18:40:09 +00:00
|
|
|
'androidxAppCompat': '1.2.0-beta01',
|
2020-02-06 15:05:17 +00:00
|
|
|
'androidxRecyclerView': '1.1.0',
|
2020-02-06 15:22:51 +00:00
|
|
|
'androidxLifecycle': '2.2.0',
|
2020-02-06 15:24:04 +00:00
|
|
|
'androidxAnnotation': '1.1.0',
|
2020-04-15 18:49:59 +00:00
|
|
|
'androidxNavigation': '2.2.2',
|
2019-04-06 19:08:12 +00:00
|
|
|
'androidxConstraintLayout': '1.1.3',
|
2020-04-15 18:51:44 +00:00
|
|
|
'androidxWorkManager': '2.3.4',
|
2020-04-15 18:55:43 +00:00
|
|
|
'androidxFragment': '1.2.4',
|
2019-11-19 17:32:29 +00:00
|
|
|
'androidxLocalBroadcastManager': '1.0.0',
|
2020-02-06 16:36:35 +00:00
|
|
|
'androidxCore': '1.2.0',
|
2020-04-04 23:01:21 +00:00
|
|
|
'androidxCardView': '1.0.0',
|
2020-04-15 19:32:44 +00:00
|
|
|
'androidxPreference': '1.1.1',
|
2020-02-06 16:28:07 +00:00
|
|
|
'materialComponents': '1.1.0',
|
2019-11-28 16:26:29 +00:00
|
|
|
'preferencesFix': '1.1.0',
|
2020-04-15 20:13:11 +00:00
|
|
|
'okio': '2.5.0',
|
2020-02-21 00:51:10 +00:00
|
|
|
'moshi': '1.9.2',
|
2020-04-15 19:15:44 +00:00
|
|
|
'timber': '4.7.1',
|
2020-04-15 20:11:01 +00:00
|
|
|
'koin': '2.1.5',
|
2020-01-19 01:40:20 +00:00
|
|
|
'commonsIo': '2.6',
|
2018-07-08 01:27:52 +00:00
|
|
|
'mime4j': '0.8.1',
|
2020-04-15 20:26:09 +00:00
|
|
|
'okhttp': '4.5.0',
|
2019-01-16 12:52:46 +00:00
|
|
|
|
2019-02-09 04:23:37 +00:00
|
|
|
'androidxTestRunner': '1.1.1',
|
2020-04-15 19:44:40 +00:00
|
|
|
'junit': '4.13',
|
2019-11-13 16:35:46 +00:00
|
|
|
'robolectric': '4.2.1',
|
2020-04-15 19:53:08 +00:00
|
|
|
'mockito': '3.3.3',
|
2020-01-19 01:31:15 +00:00
|
|
|
'mockitoKotlin': '2.2.0',
|
2020-01-19 01:36:04 +00:00
|
|
|
'truth': '1.0.1'
|
2018-05-23 17:36:52 +00:00
|
|
|
]
|
2019-11-13 15:10:14 +00:00
|
|
|
|
2019-11-13 15:35:38 +00:00
|
|
|
javaVersion = JavaVersion.VERSION_1_8
|
2019-11-17 13:40:57 +00:00
|
|
|
kotlinJvmVersion = "1.8"
|
2018-05-23 13:57:04 +00:00
|
|
|
}
|
|
|
|
|
2014-09-18 13:18:41 +00:00
|
|
|
repositories {
|
2018-10-24 01:29:21 +00:00
|
|
|
mavenCentral()
|
2018-02-17 03:05:09 +00:00
|
|
|
google()
|
2019-11-26 20:37:40 +00:00
|
|
|
maven { url "https://plugins.gradle.org/m2/" }
|
2018-10-24 01:29:21 +00:00
|
|
|
jcenter()
|
2014-09-18 13:18:41 +00:00
|
|
|
}
|
2013-05-25 21:14:46 +00:00
|
|
|
|
2014-09-18 13:18:41 +00:00
|
|
|
dependencies {
|
2020-04-15 20:32:36 +00:00
|
|
|
classpath 'com.android.tools.build:gradle:3.6.2'
|
2018-05-23 17:36:52 +00:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
|
|
|
|
classpath "org.jetbrains.kotlin:kotlin-android-extensions:${versions.kotlin}"
|
2020-04-15 20:31:59 +00:00
|
|
|
classpath "org.jlleitschuh.gradle:ktlint-gradle:9.2.1"
|
2014-09-18 13:18:41 +00:00
|
|
|
}
|
2013-05-25 21:14:46 +00:00
|
|
|
}
|
|
|
|
|
2015-12-21 01:11:37 +00:00
|
|
|
project.ext {
|
|
|
|
testCoverage = project.hasProperty('testCoverage')
|
|
|
|
}
|
2014-08-30 23:10:13 +00:00
|
|
|
|
|
|
|
subprojects {
|
2018-02-17 03:33:30 +00:00
|
|
|
repositories {
|
2018-10-24 01:29:21 +00:00
|
|
|
mavenCentral()
|
2018-02-17 03:33:30 +00:00
|
|
|
google()
|
2018-10-24 01:29:21 +00:00
|
|
|
jcenter()
|
2019-10-05 15:19:30 +00:00
|
|
|
maven { url 'https://jitpack.io' }
|
2018-02-17 03:33:30 +00:00
|
|
|
}
|
2018-07-01 11:39:01 +00:00
|
|
|
|
|
|
|
configurations.all {
|
|
|
|
resolutionStrategy {
|
2019-02-09 01:15:01 +00:00
|
|
|
// com.github.amlcurran.showcaseview:library depends on com.android.support:support-v4
|
2019-02-09 04:23:37 +00:00
|
|
|
force "androidx.legacy:legacy-support-v4:1.0.0"
|
2018-07-01 11:39:01 +00:00
|
|
|
}
|
|
|
|
}
|
2014-08-30 23:10:13 +00:00
|
|
|
}
|