LEFT | RIGHT |
1 apply plugin: 'com.android.library' | 1 apply plugin: 'com.android.library' |
2 apply plugin: 'checkstyle' | 2 apply plugin: 'checkstyle' |
3 | 3 |
4 android { | 4 android { |
5 compileSdkVersion 21 | 5 compileSdkVersion 21 |
6 buildToolsVersion "25.0.0" | 6 buildToolsVersion "25.0.0" |
7 | 7 |
8 defaultConfig { | 8 defaultConfig { |
9 minSdkVersion 21 | 9 minSdkVersion 21 |
10 targetSdkVersion 21 | 10 targetSdkVersion 21 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 ignoreFailures = true | 42 ignoreFailures = true |
43 showViolations = true | 43 showViolations = true |
44 source 'src/org/adblockplus/' | 44 source 'src/org/adblockplus/' |
45 exclude '**/gen/**' | 45 exclude '**/gen/**' |
46 exclude '**/R.java' | 46 exclude '**/R.java' |
47 exclude '**/BuildConfig.java' | 47 exclude '**/BuildConfig.java' |
48 reports { | 48 reports { |
49 xml.destination "$project.buildDir/reports/checkstyle/main.xml" | 49 xml.destination "$project.buildDir/reports/checkstyle/main.xml" |
50 } | 50 } |
51 classpath = files() | 51 classpath = files() |
52 configFile = file("${rootProject.rootDir}/third_party/checkstyle/java/rules/
eyeo_checks.xml") | 52 configFile = file("${rootProject.rootDir}/third_party/checkstyle/java/rules/
eyeo_production_checks.xml") |
53 configProperties = [ | 53 configProperties = [ |
54 "checkstyle.header.file" : file("${rootProject.rootDir}/third_party/chec
kstyle/java/res/header.txt") | 54 "checkstyle.header.file" : file("${rootProject.rootDir}/third_party/chec
kstyle/java/res/header.txt") |
55 ] | 55 ] |
56 } | 56 } |
LEFT | RIGHT |