LEFT | RIGHT |
1 apply plugin: 'com.android.application' | 1 apply plugin: 'com.android.application' |
2 apply plugin: 'checkstyle' | 2 apply plugin: 'checkstyle' |
3 | 3 |
4 allprojects { | 4 allprojects { |
5 repositories { | 5 repositories { |
6 mavenLocal() | 6 mavenLocal() |
7 mavenCentral() | 7 mavenCentral() |
8 } | 8 } |
9 } | 9 } |
10 | 10 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 ignoreFailures = true | 55 ignoreFailures = true |
56 showViolations = true | 56 showViolations = true |
57 source 'src/org/adblockplus/' | 57 source 'src/org/adblockplus/' |
58 exclude '**/gen/**' | 58 exclude '**/gen/**' |
59 exclude '**/R.java' | 59 exclude '**/R.java' |
60 exclude '**/BuildConfig.java' | 60 exclude '**/BuildConfig.java' |
61 reports { | 61 reports { |
62 xml.destination "$project.buildDir/reports/checkstyle/main.xml" | 62 xml.destination "$project.buildDir/reports/checkstyle/main.xml" |
63 } | 63 } |
64 classpath = files() | 64 classpath = files() |
65 configFile = file("${rootProject.rootDir}/third_party/checkstyle/java/rules/
eyeo_checks.xml") | 65 configFile = file("${rootProject.rootDir}/third_party/checkstyle/java/rules/
eyeo_production_checks.xml") |
66 configProperties = [ | 66 configProperties = [ |
67 "checkstyle.header.file" : file("${rootProject.rootDir}/third_party/chec
kstyle/java/res/header.txt") | 67 "checkstyle.header.file" : file("${rootProject.rootDir}/third_party/chec
kstyle/java/res/header.txt") |
68 ] | 68 ] |
69 } | 69 } |
LEFT | RIGHT |