thunderbird-android/build.gradle

72 lines
2.2 KiB
Groovy
Raw Normal View History

2013-05-25 21:14:46 +00:00
buildscript {
ext {
buildConfig = [
2019-02-09 01:15:01 +00:00
'compileSdk': 28,
'minSdk': 19,
'buildTools': '28.0.3'
]
versions = [
'kotlin': '1.2.71',
2019-02-09 01:15:01 +00:00
'supportLibrary': '28.0.0',
'preferencesFix': '28.0.0.0',
'lifecycleExtensions': '1.1.1',
'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',
'junit': '4.12',
'robolectric': '3.7.1',
'mockito': '2.18.0',
'mockitoKotlin': '1.5.0',
'truth': '0.35'
]
}
2014-09-18 13:18:41 +00:00
repositories {
mavenCentral()
2018-02-17 03:05:09 +00:00
google()
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 {
classpath 'com.android.tools.build:gradle:3.2.1'
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 {
mavenCentral()
2018-02-17 03:33:30 +00:00
google()
2018-09-12 23:40:30 +00:00
maven { url 'https://jitpack.io' }
jcenter()
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}"
2018-09-17 12:33:35 +00:00
force "com.android.support:preference-v14:${versions.supportLibrary}"
force "com.android.support:cardview-v7:${versions.supportLibrary}"
2019-02-09 01:15:01 +00:00
// org.koin:koin-android-architecture depends on an old version of android.arch.lifecycle:extensions
force "android.arch.lifecycle:extensions:${versions.lifecycleExtensions}"
// com.github.amlcurran.showcaseview:library depends on com.android.support:support-v4
force "com.android.support:support-v4:${versions.supportLibrary}"
2018-07-01 11:39:01 +00:00
}
}
2014-08-30 23:10:13 +00:00
}