зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1571326 - Update to apilint 0.2.5. r=droeh
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:
9cadbd0686
Differential Revision: https://phabricator.services.mozilla.com/D40655
--HG--
extra : moz-landing-system : lando
This commit is contained in:
Родитель
83d9aa16f4
Коммит
060d39ba77
|
@ -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'
|
||||
|
|
|
@ -990,7 +990,7 @@ package org.mozilla.geckoview {
|
|||
method @AnyThread protected void updatePrefs(@NonNull RuntimeSettings);
|
||||
}
|
||||
|
||||
public abstract static class RuntimeSettings.Builder<Settings extends org.mozilla.geckoview.RuntimeSettings> {
|
||||
public abstract static class RuntimeSettings.Builder<Settings extends RuntimeSettings> {
|
||||
ctor public Builder();
|
||||
method @AnyThread @NonNull public Settings build();
|
||||
method @AnyThread @NonNull protected Settings getSettings();
|
||||
|
|
|
@ -381,4 +381,4 @@ exclude: true
|
|||
[65.24]: ../CrashReporter.html#sendCrashReport-android.content.Context-android.os.Bundle-java.lang.String-
|
||||
[65.25]: ../GeckoResult.html
|
||||
|
||||
[api-version]: a378cc7122deed44920fd8f3aad8627ed7a7960d
|
||||
[api-version]: b101f0344e941cb50eaaf75326e126ce3efc52b4
|
||||
|
|
Загрузка…
Ссылка в новой задаче