2013-08-07 11:35:51 +02:00
|
|
|
buildscript {
|
2024-04-09 22:33:52 +02:00
|
|
|
ext.agpVersion = "8.1.1"
|
2013-08-07 11:35:51 +02:00
|
|
|
}
|
2024-03-04 22:17:44 +01:00
|
|
|
plugins {
|
|
|
|
id 'com.android.application' version "$agpVersion" apply false
|
|
|
|
id 'com.android.library' version "$agpVersion" apply false
|
2024-03-06 08:52:14 +01:00
|
|
|
id 'com.github.spotbugs' version '4.8.0' apply false
|
2024-03-04 22:17:44 +01:00
|
|
|
id 'checkstyle'
|
2014-10-14 18:41:13 +02:00
|
|
|
}
|
|
|
|
|
2015-11-01 17:48:33 +01:00
|
|
|
project.ext {
|
2020-05-07 17:38:01 +02:00
|
|
|
// AndroidX
|
2024-03-09 10:56:58 +01:00
|
|
|
annotationVersion = "1.4.0"
|
|
|
|
appcompatVersion = "1.5.1"
|
2024-03-17 19:58:33 +01:00
|
|
|
coreVersion = "1.9.0"
|
2024-10-20 19:29:31 +02:00
|
|
|
fragmentVersion = "1.8.4"
|
2024-03-09 10:56:58 +01:00
|
|
|
mediaVersion = "1.6.0"
|
2024-03-10 07:59:53 +01:00
|
|
|
media3Version = "1.1.1"
|
2021-12-04 19:01:22 +01:00
|
|
|
paletteVersion = "1.0.0"
|
2020-05-07 17:38:01 +02:00
|
|
|
preferenceVersion = "1.1.1"
|
2021-12-04 19:01:22 +01:00
|
|
|
recyclerViewVersion = "1.2.1"
|
|
|
|
viewPager2Version = "1.1.0-beta01"
|
2022-11-26 19:25:43 +01:00
|
|
|
workManagerVersion = "2.7.1"
|
2024-09-10 20:59:18 +02:00
|
|
|
googleMaterialVersion = "1.12.0"
|
2020-05-07 17:38:01 +02:00
|
|
|
|
|
|
|
// Third-party
|
2017-09-23 10:04:00 +02:00
|
|
|
commonslangVersion = "3.6"
|
2020-05-07 17:38:01 +02:00
|
|
|
commonsioVersion = "2.5"
|
2022-05-26 09:59:10 +02:00
|
|
|
jsoupVersion = "1.15.1"
|
2022-06-05 06:45:37 +02:00
|
|
|
glideVersion = "4.13.2"
|
2024-03-09 19:44:05 +01:00
|
|
|
okhttpVersion = "4.12.0"
|
2022-06-04 22:13:30 +02:00
|
|
|
eventbusVersion = "3.3.1"
|
2020-04-26 03:03:16 +02:00
|
|
|
rxAndroidVersion = "2.1.1"
|
2018-09-30 19:58:53 +02:00
|
|
|
rxJavaVersion = "2.2.2"
|
2016-03-19 05:31:41 +01:00
|
|
|
|
2020-05-07 17:38:01 +02:00
|
|
|
//Tests
|
|
|
|
awaitilityVersion = "3.1.6"
|
2021-12-04 19:01:22 +01:00
|
|
|
junitVersion = "4.13"
|
2024-04-09 22:33:52 +02:00
|
|
|
robolectricVersion = "4.11"
|
2022-11-26 16:06:02 +01:00
|
|
|
espressoVersion = "3.5.0"
|
|
|
|
runnerVersion = "1.5.0"
|
|
|
|
rulesVersion = "1.5.0"
|
|
|
|
testCoreVersion = "1.5.0"
|
2024-04-04 22:26:53 +02:00
|
|
|
mockitoVersion = "5.11.0"
|
2015-11-01 17:48:33 +01:00
|
|
|
}
|
|
|
|
|
2019-09-24 11:12:35 +02:00
|
|
|
checkstyle {
|
2022-07-20 22:29:58 +02:00
|
|
|
toolVersion '10.3.1'
|
2019-09-24 11:12:35 +02:00
|
|
|
}
|
|
|
|
|
2024-02-25 13:39:44 +01:00
|
|
|
tasks.register('checkstyle', Checkstyle) {
|
2024-03-04 22:36:10 +01:00
|
|
|
minHeapSize = "200m"
|
|
|
|
maxHeapSize = "2g"
|
2019-09-24 11:12:35 +02:00
|
|
|
classpath = files()
|
|
|
|
source "${project.rootDir}"
|
2024-03-04 22:36:10 +01:00
|
|
|
exclude("**/generated-sources/**")
|
2019-09-24 11:12:35 +02:00
|
|
|
exclude("**/gen/**")
|
2024-03-04 22:36:10 +01:00
|
|
|
exclude("**/build/**")
|
2019-10-22 16:50:04 +02:00
|
|
|
exclude("**/generated/**")
|
2019-09-24 11:12:35 +02:00
|
|
|
}
|