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 30 matching lines...) Expand all Loading... |
41 ignoreFailures = true | 41 ignoreFailures = true |
42 showViolations = true | 42 showViolations = true |
43 source 'src/org/adblockplus/' | 43 source 'src/org/adblockplus/' |
44 exclude '**/gen/**' | 44 exclude '**/gen/**' |
45 exclude '**/R.java' | 45 exclude '**/R.java' |
46 exclude '**/BuildConfig.java' | 46 exclude '**/BuildConfig.java' |
47 reports { | 47 reports { |
48 xml.destination "$project.buildDir/reports/checkstyle/main.xml" | 48 xml.destination "$project.buildDir/reports/checkstyle/main.xml" |
49 } | 49 } |
50 classpath = files() | 50 classpath = files() |
51 configFile = file("${rootProject.rootDir}/third_party/checkstyle/java/rules/
eyeo_checks.xml") | 51 configFile = file("${rootProject.rootDir}/third_party/checkstyle/java/rules/
eyeo_production_checks.xml") |
52 configProperties = [ | 52 configProperties = [ |
53 "checkstyle.header.file" : file("${rootProject.rootDir}/third_party/chec
kstyle/java/res/header.txt") | 53 "checkstyle.header.file" : file("${rootProject.rootDir}/third_party/chec
kstyle/java/res/header.txt") |
54 ] | 54 ] |
55 } | 55 } |
LEFT | RIGHT |