forked from AntennaPod/AntennaPod
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
60 lines (55 loc) · 1.51 KB
/
build.gradle
File metadata and controls
60 lines (55 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
buildscript {
ext.agpVersion = "8.11.0"
}
plugins {
id 'com.android.application' version "$agpVersion" apply false
id 'com.android.library' version "$agpVersion" apply false
id 'com.github.spotbugs' version '4.8.0' apply false
id 'checkstyle'
}
project.ext {
// AndroidX
annotationVersion = "1.9.1"
appcompatVersion = "1.7.1"
coreVersion = "1.16.0"
fragmentVersion = "1.8.9"
mediaVersion = "1.6.0"
media3Version = "1.8.0"
paletteVersion = "1.0.0"
preferenceVersion = "1.2.1"
recyclerViewVersion = "1.4.0"
viewPager2Version = "1.1.0"
workManagerVersion = "2.10.3"
googleMaterialVersion = "1.12.0"
// Third-party
commonslangVersion = "3.18.0"
commonsioVersion = "2.5" // Recent versions cause ClassNotFoundException on Android 6
jsoupVersion = "1.15.1"
glideVersion = "4.16.0"
okhttpVersion = "4.12.0"
eventbusVersion = "3.3.1"
rxAndroidVersion = "3.0.2"
rxJavaVersion = "3.1.5"
//Tests
awaitilityVersion = "3.1.6"
junitVersion = "4.13"
robolectricVersion = "4.14"
espressoVersion = "3.5.0"
runnerVersion = "1.5.0"
rulesVersion = "1.5.0"
testCoreVersion = "1.5.0"
mockitoVersion = "5.15.2"
}
checkstyle {
toolVersion '10.3.1'
}
tasks.register('checkstyle', Checkstyle) {
minHeapSize = "200m"
maxHeapSize = "2g"
classpath = files()
source "${project.rootDir}"
exclude("**/generated-sources/**")
exclude("**/gen/**")
exclude("**/build/**")
exclude("**/generated/**")
}