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

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

Issue 29347926: Issue 4248 - Add codestyle check
Left Patch Set: fixed broken url in rules Created April 28, 2017, 5:55 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « libadblockplus-android-settings/build.gradle ('k') | libadblockplus-android-webview/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
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 26 matching lines...) Expand all
38 project ":libadblockplus-android" 39 project ":libadblockplus-android"
39 } 40 }
40 } 41 }
41 } 42 }
42 } 43 }
43 } 44 }
44 45
45 dependencies { 46 dependencies {
46 androidTestCompile project(':libadblockplus-android') 47 androidTestCompile project(':libadblockplus-android')
47 androidTestCompile fileTree(include: ['*.jar'], dir: 'libs') 48 androidTestCompile fileTree(include: ['*.jar'], dir: 'libs')
49 }
50
51 checkstyle {
52 toolVersion = '6.19'
53 }
54
55 task checkstyleMain(type: Checkstyle) {
56 ignoreFailures = true
57 showViolations = true
58 source 'src/org/adblockplus/'
59 exclude '**/gen/**'
60 exclude '**/R.java'
61 exclude '**/BuildConfig.java'
62 reports {
63 xml.destination "$project.buildDir/reports/checkstyle/main.xml"
64 }
65 classpath = files()
66 configFile = file("${rootProject.rootDir}/third_party/checkstyle/java/rules/ eyeo_test_checks.xml")
67 configProperties = [
68 "checkstyle.header.file" : file("${rootProject.rootDir}/third_party/ checkstyle/java/res/header.txt")
69 ]
48 } 70 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld