thunderbird-android/build.gradle

94 lines
2.6 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,
2020-09-19 23:29:50 +00:00
'targetSdk': 29,
2019-11-19 14:00:08 +00:00
'minSdk': 21,
2020-04-15 21:20:20 +00:00
'buildTools': '29.0.3',
2020-09-19 23:29:50 +00:00
'robolectricSdk': 29
]
versions = [
2021-04-21 22:49:29 +00:00
'kotlin': '1.4.32',
'kotlinCoroutines': '1.4.3',
2020-09-17 22:54:42 +00:00
'androidxAppCompat': '1.2.0',
2020-02-06 15:05:17 +00:00
'androidxRecyclerView': '1.1.0',
'androidxLifecycle': '2.3.1',
2021-04-21 23:09:55 +00:00
'androidxAnnotation': '1.2.0',
2021-04-21 23:16:55 +00:00
'androidxNavigation': '2.3.5',
'androidxConstraintLayout': '2.0.4',
2021-04-21 23:18:36 +00:00
'androidxWorkManager': '2.5.0',
2021-04-21 23:20:38 +00:00
'androidxFragment': '1.3.3',
2019-11-19 17:32:29 +00:00
'androidxLocalBroadcastManager': '1.0.0',
2020-11-11 19:37:31 +00:00
'androidxCore': '1.3.2',
'androidxCardView': '1.0.0',
2020-04-15 19:32:44 +00:00
'androidxPreference': '1.1.1',
2020-09-17 23:21:34 +00:00
'androidxTestCore': '1.3.0',
2021-04-21 23:22:22 +00:00
'materialComponents': '1.3.0',
2021-04-21 23:23:14 +00:00
'fastAdapter': '5.4.1',
2019-11-28 16:26:29 +00:00
'preferencesFix': '1.1.0',
2020-11-11 19:39:53 +00:00
'okio': '2.9.0',
2020-11-11 19:52:25 +00:00
'moshi': '1.11.0',
2020-04-15 19:15:44 +00:00
'timber': '4.7.1',
2020-07-15 14:01:13 +00:00
'koin': '2.1.6',
2020-01-19 01:40:20 +00:00
'commonsIo': '2.6',
2020-07-15 14:35:03 +00:00
'mime4j': '0.8.3',
2020-11-11 19:58:22 +00:00
'okhttp': '4.9.0',
2020-09-18 00:40:47 +00:00
'minidns': '1.0.0',
2020-07-15 21:23:05 +00:00
'glide': '4.11.0',
2020-09-17 23:21:34 +00:00
'androidxTestRunner': '1.3.0',
2020-11-11 20:00:27 +00:00
'junit': '4.13.1',
'robolectric': '4.4',
2020-11-11 20:02:04 +00:00
'mockito': '3.6.0',
'mockitoKotlin': '2.2.0',
2020-11-11 20:03:12 +00:00
'truth': '1.1',
'ktlint': '0.39.0'
]
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()
maven { url "https://plugins.gradle.org/m2/" }
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-11-11 20:17:20 +00:00
classpath 'com.android.tools.build:gradle:4.1.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
classpath "org.jlleitschuh.gradle:ktlint-gradle:9.4.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 {
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
}
tasks.withType(Test) {
testLogging {
exceptionFormat "full"
showCauses true
showExceptions true
showStackTraces true
}
}
apply plugin: 'org.jlleitschuh.gradle.ktlint'
ktlint {
version = versions.ktlint
}
2014-08-30 23:10:13 +00:00
}