Skip to content

Commit

Permalink
Bug 1571326 - Update to apilint 0.2.5. r=droeh
Browse files Browse the repository at this point in the history
Before this version, apilint would not include CHANGELOG errors in the json
report. After Bug 1512487 we started ignoring apilint output (and erorr code)
and only consider the json report, so the CHANGELOG erorrs broke.

Updating to 0.2.5 makes it so the CHANGELOG errors are included in the json
report correctly. E.g.:

```
mobile/android/geckoview/src/main/java/org/mozilla/geckoview/doc-files/CHANGELOG.md
  384:14  error  The api changelog file is out of date. Please update the file
          and modify the [api-version] line as follows: [api-version]:
          a0b1e88e8bb3045a22c0942d736f4e9b4532bdeb  wrong_api_version
          (android-api-lint)
```

The apilint fix is here:
mozilla-mobile/gradle-apilint@9cadbd0

Differential Revision: https://phabricator.services.mozilla.com/D40655

--HG--
extra : moz-landing-system : lando
  • Loading branch information
agi committed Aug 5, 2019
1 parent 6c32dea commit 6f14615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ buildscript {
}

dependencies {
classpath 'org.mozilla.apilint:apilint:0.2.4'
classpath 'org.mozilla.apilint:apilint:0.2.5'
classpath 'com.android.tools.build:gradle:3.4.2'
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.8.2'
classpath 'org.apache.commons:commons-exec:1.3'
Expand Down

0 comments on commit 6f14615

Please sign in to comment.