0
0
mirror of https://github.com/thunderbird/thunderbird-android.git synced 2024-09-20 04:02:14 +02:00
thunderbird-android/build.gradle

94 lines
2.6 KiB
Groovy
Raw Normal View History

2013-05-25 23:14:46 +02:00
buildscript {
ext {
buildConfig = [
2019-11-17 01:40:36 +01:00
'compileSdk': 29,
2020-09-20 01:29:50 +02:00
'targetSdk': 29,
2019-11-19 15:00:08 +01:00
'minSdk': 21,
2020-04-15 23:20:20 +02:00
'buildTools': '29.0.3',
2020-09-20 01:29:50 +02:00
'robolectricSdk': 29
]
versions = [
2021-04-22 00:49:29 +02:00
'kotlin': '1.4.32',
'kotlinCoroutines': '1.4.3',
2020-09-18 00:54:42 +02:00
'androidxAppCompat': '1.2.0',
2020-02-06 16:05:17 +01:00
'androidxRecyclerView': '1.1.0',
'androidxLifecycle': '2.3.1',
2020-02-06 16:24:04 +01:00
'androidxAnnotation': '1.1.0',
2020-11-11 20:34:09 +01:00
'androidxNavigation': '2.3.1',
'androidxConstraintLayout': '2.0.4',
2020-09-18 01:04:09 +02:00
'androidxWorkManager': '2.4.0',
2020-07-15 15:49:35 +02:00
'androidxFragment': '1.2.5',
2019-11-19 18:32:29 +01:00
'androidxLocalBroadcastManager': '1.0.0',
2020-11-11 20:37:31 +01:00
'androidxCore': '1.3.2',
'androidxCardView': '1.0.0',
2020-04-15 21:32:44 +02:00
'androidxPreference': '1.1.1',
2020-09-18 01:21:34 +02:00
'androidxTestCore': '1.3.0',
2020-09-18 01:48:22 +02:00
'materialComponents': '1.2.1',
'fastAdapter': '5.4.0',
2019-11-28 17:26:29 +01:00
'preferencesFix': '1.1.0',
2020-11-11 20:39:53 +01:00
'okio': '2.9.0',
2020-11-11 20:52:25 +01:00
'moshi': '1.11.0',
2020-04-15 21:15:44 +02:00
'timber': '4.7.1',
2020-07-15 16:01:13 +02:00
'koin': '2.1.6',
2020-01-19 02:40:20 +01:00
'commonsIo': '2.6',
2020-07-15 16:35:03 +02:00
'mime4j': '0.8.3',
2020-11-11 20:58:22 +01:00
'okhttp': '4.9.0',
2020-09-18 02:40:47 +02:00
'minidns': '1.0.0',
2020-07-15 23:23:05 +02:00
'glide': '4.11.0',
2020-09-18 01:21:34 +02:00
'androidxTestRunner': '1.3.0',
2020-11-11 21:00:27 +01:00
'junit': '4.13.1',
'robolectric': '4.4',
2020-11-11 21:02:04 +01:00
'mockito': '3.6.0',
'mockitoKotlin': '2.2.0',
2020-11-11 21:03:12 +01:00
'truth': '1.1',
'ktlint': '0.39.0'
]
javaVersion = JavaVersion.VERSION_1_8
kotlinJvmVersion = "1.8"
}
2014-09-18 15:18:41 +02:00
repositories {
mavenCentral()
2018-02-17 04:05:09 +01:00
google()
maven { url "https://plugins.gradle.org/m2/" }
jcenter()
2014-09-18 15:18:41 +02:00
}
2013-05-25 23:14:46 +02:00
2014-09-18 15:18:41 +02:00
dependencies {
2020-11-11 21:17:20 +01: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 15:18:41 +02:00
}
2013-05-25 23:14:46 +02:00
}
2015-12-21 02:11:37 +01:00
project.ext {
testCoverage = project.hasProperty('testCoverage')
}
2014-08-31 01:10:13 +02:00
subprojects {
2018-02-17 04:33:30 +01:00
repositories {
mavenCentral()
2018-02-17 04:33:30 +01:00
google()
jcenter()
2019-10-05 17:19:30 +02:00
maven { url 'https://jitpack.io' }
2018-02-17 04:33:30 +01: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-31 01:10:13 +02:00
}