AntennaPod/build.gradle
2025-08-18 20:24:58 +02:00

61 lines
1.5 KiB
Groovy

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.1.1"
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.20.0"
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/**")
}