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 = [
|
|
|
|
'compileSdk': 27,
|
|
|
|
'minSdk': 15,
|
|
|
|
'buildTools': '27.0.3'
|
|
|
|
]
|
2018-05-23 13:57:04 +00:00
|
|
|
|
2018-05-23 17:36:52 +00:00
|
|
|
versions = [
|
2018-05-23 17:45:46 +00:00
|
|
|
'kotlin': '1.2.41',
|
2018-05-23 17:36:52 +00:00
|
|
|
'supportLibrary': '27.1.1',
|
|
|
|
'preferencesFix': '27.1.1.1',
|
|
|
|
'lifecycleExtensions': '1.1.0',
|
|
|
|
'okio': '1.14.0',
|
|
|
|
'timber': '4.5.1',
|
|
|
|
'koin': '0.9.1',
|
|
|
|
'commonsIo': '2.4',
|
2018-07-08 01:27:52 +00:00
|
|
|
'coreKtx': '0.3',
|
|
|
|
'mime4j': '0.8.1',
|
2018-05-23 17:36:52 +00:00
|
|
|
|
|
|
|
'junit': '4.12',
|
|
|
|
'robolectric': '3.7.1',
|
|
|
|
'mockito': '2.18.0',
|
|
|
|
'mockitoKotlin': '1.5.0',
|
|
|
|
'truth': '0.35'
|
|
|
|
]
|
2018-05-23 13:57:04 +00:00
|
|
|
}
|
|
|
|
|
2014-09-18 13:18:41 +00:00
|
|
|
repositories {
|
2014-12-19 22:05:58 +00:00
|
|
|
jcenter()
|
2018-02-17 03:05:09 +00:00
|
|
|
google()
|
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 {
|
2018-02-17 03:05:09 +00:00
|
|
|
classpath 'com.android.tools.build:gradle:3.0.1'
|
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}"
|
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 {
|
|
|
|
jcenter()
|
|
|
|
google()
|
2018-09-12 23:40: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 {
|
|
|
|
exclude group: "com.android.support", module: "support-media-compat"
|
|
|
|
|
|
|
|
resolutionStrategy {
|
|
|
|
force "com.android.support:support-annotations:${versions.supportLibrary}"
|
|
|
|
force "com.android.support:design:${versions.supportLibrary}"
|
|
|
|
force "com.android.support:support-fragment:${versions.supportLibrary}"
|
|
|
|
}
|
|
|
|
}
|
2014-08-30 23:10:13 +00:00
|
|
|
}
|