mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2024-12-25 00:14:00 +01:00
e578f4ca93
- Run Checkstyle with gradle to make it easier for users - No longer needs different configuration for new code - Exclude current violations - Fix some violations that somehow couldn't be specified in the exclusion file - Print SpotBugs/Lint/Checkstly violations in GitHub format - Then the CI run gets annotated on the web UI
27 lines
716 B
Groovy
27 lines
716 B
Groovy
plugins {
|
|
id("com.android.library")
|
|
}
|
|
apply from: "../../common.gradle"
|
|
apply from: "../../playFlavor.gradle"
|
|
|
|
android {
|
|
namespace "de.danoeh.antennapod.net.common"
|
|
|
|
lint {
|
|
disable 'StaticFieldLeak'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':model')
|
|
implementation project(':net:ssl')
|
|
implementation project(':storage:preferences')
|
|
|
|
annotationProcessor "androidx.annotation:annotation:$annotationVersion"
|
|
implementation "com.squareup.okhttp3:okhttp:$okhttpVersion"
|
|
implementation "com.squareup.okhttp3:okhttp-urlconnection:$okhttpVersion"
|
|
|
|
testImplementation "junit:junit:$junitVersion"
|
|
testImplementation "org.robolectric:robolectric:$robolectricVersion"
|
|
}
|