thunderbird-android/build.gradle

76 lines
2.1 KiB
Groovy
Raw Normal View History

2013-05-25 21:14:46 +00:00
buildscript {
ext {
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,
2019-11-17 00:42:24 +00:00
'buildTools': '29.0.2',
'robolectricSdk': 28
]
versions = [
2019-11-13 16:42:05 +00:00
'kotlin': '1.3.50',
2019-02-09 04:23:37 +00:00
'androidxAppCompat': '1.0.2',
'androidxRecyclerView': '1.0.0',
'androidxLifecycleExtensions': '2.0.0',
'androidxAnnotation': '1.0.1',
'androidxNavigation': '2.0.0',
2019-04-06 19:08:12 +00:00
'androidxConstraintLayout': '1.1.3',
2019-11-13 14:45:55 +00:00
'androidxWorkManager': '2.2.0',
2019-11-19 17:32:29 +00:00
'androidxFragment': '1.1.0',
'androidxLocalBroadcastManager': '1.0.0',
2019-05-19 21:49:09 +00:00
'materialComponents': '1.0.0',
2019-02-09 04:23:37 +00:00
'coreKtx': '1.0.1',
2019-11-28 16:26:29 +00:00
'preferencesFix': '1.1.0',
'okio': '1.14.0',
'timber': '4.5.1',
2019-11-19 17:32:29 +00:00
'koin': '2.0.1',
'commonsIo': '2.4',
2018-07-08 01:27:52 +00:00
'mime4j': '0.8.1',
2019-11-19 14:02:42 +00:00
'okhttp': '4.2.1',
2019-02-09 04:23:37 +00:00
'androidxTestRunner': '1.1.1',
'junit': '4.12',
'robolectric': '4.2.1',
'mockito': '2.18.0',
'mockitoKotlin': '1.5.0',
'truth': '0.35'
]
javaVersion = JavaVersion.VERSION_1_8
kotlinJvmVersion = "1.8"
}
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 {
2019-11-13 15:54:55 +00:00
classpath 'com.android.tools.build:gradle:3.5.2'
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()
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
}