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