AntennaPod/build.gradle

60 lines
1.4 KiB
Groovy
Raw Normal View History

2013-08-07 11:35:51 +02:00
buildscript {
2024-03-04 16:17:44 -05:00
ext.agpVersion = "8.0.2"
2013-08-07 11:35:51 +02:00
}
2024-03-04 16:17:44 -05:00
plugins {
id 'com.android.application' version "$agpVersion" apply false
id 'com.android.library' version "$agpVersion" apply false
2024-03-06 02:52:14 -05:00
id 'com.github.spotbugs' version '4.8.0' apply false
2024-03-04 16:17:44 -05:00
id 'checkstyle'
2014-10-14 18:41:13 +02:00
}
2015-11-01 17:48:33 +01:00
project.ext {
2020-05-07 11:38:01 -04:00
// AndroidX
2024-03-09 04:56:58 -05:00
annotationVersion = "1.4.0"
appcompatVersion = "1.5.1"
coreVersion = "1.9.0"
2024-03-09 04:56:58 -05:00
fragmentVersion = "1.5.5"
mediaVersion = "1.6.0"
2024-03-10 01:59:53 -05:00
media3Version = "1.1.1"
paletteVersion = "1.0.0"
2020-05-07 11:38:01 -04:00
preferenceVersion = "1.1.1"
recyclerViewVersion = "1.2.1"
viewPager2Version = "1.1.0-beta01"
2022-11-26 19:25:43 +01:00
workManagerVersion = "2.7.1"
googleMaterialVersion = "1.7.0"
2020-05-07 11:38:01 -04:00
// Third-party
2017-09-23 10:04:00 +02:00
commonslangVersion = "3.6"
2020-05-07 11:38:01 -04:00
commonsioVersion = "2.5"
2022-05-26 03:59:10 -04:00
jsoupVersion = "1.15.1"
2022-06-05 00:45:37 -04:00
glideVersion = "4.13.2"
2024-03-09 19:44:05 +01:00
okhttpVersion = "4.12.0"
2022-06-04 16:13:30 -04:00
eventbusVersion = "3.3.1"
2020-04-25 21:03:16 -04:00
rxAndroidVersion = "2.1.1"
2018-09-30 19:58:53 +02:00
rxJavaVersion = "2.2.2"
2016-03-19 00:31:41 -04:00
2020-05-07 11:38:01 -04:00
//Tests
awaitilityVersion = "3.1.6"
junitVersion = "4.13"
2022-11-26 16:06:02 +01:00
robolectricVersion = "4.9"
espressoVersion = "3.5.0"
runnerVersion = "1.5.0"
rulesVersion = "1.5.0"
testCoreVersion = "1.5.0"
2015-11-01 17:48:33 +01:00
}
2019-09-24 11:12:35 +02:00
checkstyle {
toolVersion '10.3.1'
2019-09-24 11:12:35 +02:00
}
2024-02-25 07:39:44 -05: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/**")
exclude("**/generated/**")
2019-09-24 11:12:35 +02:00
}