Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: libadblockplus-android-webviewapp/build.gradle

Issue 29347926: Issue 4248 - Add codestyle check
Left Patch Set: changed import order - `org.adblockplus` package first Created Dec. 2, 2016, 6:19 a.m.
Right Patch Set: moved 'third_party' to review https://codereview.adblockplus.org/29567648/ Created Oct. 6, 2017, 11:33 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « libadblockplus-android-webview/build.gradle ('k') | libadblockplus-android/build.gradle » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 apply plugin: 'com.android.application' 1 apply plugin: 'com.android.application'
2 apply plugin: 'checkstyle'
2 3
3 allprojects { 4 allprojects {
4 repositories { 5 repositories {
5 mavenLocal() 6 mavenLocal()
6 mavenCentral() 7 mavenCentral()
7 } 8 }
8 } 9 }
9 10
10 repositories { 11 repositories {
11 mavenLocal() 12 mavenLocal()
(...skipping 21 matching lines...) Expand all
33 34
34 jni { 35 jni {
35 dependencies { 36 dependencies {
36 project ":libadblockplus-android" 37 project ":libadblockplus-android"
37 } 38 }
38 } 39 }
39 } 40 }
40 } 41 }
41 } 42 }
42 43
43
44 dependencies { 44 dependencies {
45 compile project(':libadblockplus-android-settings') 45 compile project(':libadblockplus-android-settings')
46 compile project(':libadblockplus-android-webview') 46 compile project(':libadblockplus-android-webview')
47 compile 'com.android.support:appcompat-v7:21.0.3' 47 compile 'com.android.support:appcompat-v7:21.0.3'
48 }
49
50 checkstyle {
51 toolVersion = '6.19'
52 }
53
54 task checkstyleMain(type: Checkstyle) {
55 ignoreFailures = true
56 showViolations = true
57 source 'src/org/adblockplus/'
58 exclude '**/gen/**'
59 exclude '**/R.java'
60 exclude '**/BuildConfig.java'
61 reports {
62 xml.destination "$project.buildDir/reports/checkstyle/main.xml"
63 }
64 classpath = files()
65 configFile = file("${rootProject.rootDir}/third_party/checkstyle/java/rules/ eyeo_production_checks.xml")
66 configProperties = [
67 "checkstyle.header.file" : file("${rootProject.rootDir}/third_party/chec kstyle/java/res/header.txt")
68 ]
48 } 69 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld