Improvements:
- Upgraded SpotBugs to 4.1.1
- Upgraded Checkstyle to 8.35.0
- Upgraded PMD to 6.26.0
Fixes:
- Don't analyze autogenerated classes under older AGP versions (3.3.x and 3.4.x).
- Fix reference to R classes for main, test and androidTest sourcesets.
Fixes:
- Error copying lint result xml under newer AGP versions.
- Error resolving configurations during checkstyle executions.
Improvements:
- All tasks are now created lazily improving configuration time
- Fully compatible with AGP 4.0.0+
- Fully compatible with Gradle 6.4 and later (used SpotBugs plugin was not compatible)
- Upgraded PMD to 6.25.0
- Upgraded Checkstyle to 8.33.0
- Upgraded SpotBugs to 4.0.6
Improvements:
- Fully compatible with Gradle 6+
- Fully compatible with AGP 3.6.0+
- Upgraded PMD to 6.22.0
- Upgraded Checkstyle to 8.31.0
- Findbugs is replaced with Spotbugs 4.0.1
- Android Dynamic Feature modules are now supported.
- fb-contrib is replaced by sb-contrib, and upgraded to 7.4.7
- New rules added as we upgraded tools. More cases of overlap between Checkstyle and PMD detected, and moved in favor of PMD for analysis performance / cache.
- Analysis classpath for PMD and Spotbugs has been pruned for better performance
Fixes:
- AGP 3.3 ceased to generate R.java and related classes, opting to generate a compiled jar directly. These are once again taken into consideration.
Improvements:
- Upgraded PMD to 6.20.0
- Upgraded to Gradle 5.6.4
- Added compatibility for Android Gradle Plugin 3.5.+
Improvements:
- PMD's incremental analysis is used by default when using apropriate PMD and Gradle versions
- Added compatibility for Android Gradle Plugin 3.5.0
- Upgraded to Gradle 5.6.2
- Upgraded PMD to 6.18.0
- Upgraded Checkstyle to 8.23
- Upgraded fb-contrib to 7.4.6
Improvements:
- Upgraded to Gradle 5.1.1
- Upgraded Checkstyle to 8.19
- Upgraded PMD to 6.13.0
Improvements:
- Upgraded to Gradle 4.10.2
- Upgraded PMD to 6.8.0
- Upgraded Checkstyle to 8.13
- All lint tasks (ie: lintDebug and lintRelease) are now cacheable and can be up-to-date
Improvements:
- Upgraded PMD to 6.7.0
- Upgraded Checkstyle to 8.12
- Upgraded to Gradle 4.10
- The plugin configuration time has been greatly improved. Improvements of up to 4X have been measured
Bug fixes:
- Consider
testCompileOnly
andandroidTestCompileOnly
too
Improvements:
- Upgraded to Gradle 4.9
- Fully support
api
andimplementation
configurations - Upgraded fb-contrib to 7.4.3
- Upgraded Checkstyle to 8.11
- Android projects that depend on a Java module in mixed multimodule projects
compileOnly
is now used instead ofprovided
Bug fixes:
- PMD now properly receives compiled class info for Android projects
Improvements:
- Upgraded to Gradle 4.8
- Upgraded PMD to 6.5.0
- Upgraded Checkstyle to 8.10.1
Improvements:
- Upgraded Checkstyle to 8.10
- Upgraded fb-contrib to 7.4.1
- Upgraded PMD to 6.4.0
Bug fixes:
- #26 - Standard java projects download android configuration
Improvements:
- Upgraded Checkstyle to 8.9
Bug fixes:
- #23 - IllegalStateException: Resolving configuration 'releasePublish' directly is not allowed under AGP 3.0.0
No changes, just upgraded Gradle Portal plugin version to fix some issues with plugin uploading
Bug fixes:
- Android no longer applies the Java suppression for Findbugs by default
Improvements:
- Upgraded to fully support Gradle 4.+
- Upgraded PMD to 5.8.1
- Upgraded Checkstyle to 8.2
- Upgraded fb-contrib to 7.0.5
- Java projects now use a default suppression similar to the Android one, favoring PMD checks when duplicate, and suppressing rules that are broken. Tests also have a more lax configurartion out of the box.
- Changed default Android Lint warning
WifiManagerPotentialLeak
to error. - Fully supports Android Gradle plugin 3.0.0-beta4
Bug fixes:
- #16 - Remove usage of all deprecated Gradle APIs
- A regression under Gradle 4.x where checkstyle reports where incorrectly considered out of date.
Improvements:
- The plugin can properly handle Android's build-cache
- Upgraded Checkstyle to 7.8.2
- Upgraded fb-contrib to 7.0.2
Bug fixes:
- Fix #17 - The plugin now works with Android's build-cache
Improvements:
- Upgraded PMD to 5.7.0
- Upgraded Checkstyle to 7.7
- Upgraded fb-contrib to 7.0.1
Improvements:
- Upgraded PMD to 5.5.4
- Upgraded Checkstyle to 7.6
- Upgraded fb-contrib to 6.8.4
Bug fixes:
- Fix #13 - Running
--offline
does not even try to hit the network anymore
Improvements:
- All default configs are now mantained and downloaded from GitHub itself!
- Upgraded fb-contrib to 6.8.3
Improvements:
- Upgraded PMD to 5.5.3
- Upgraded Checkstyle to 7.5.1
Improvements:
- Checkstyle tasks are configured with a 'checkstyle.cache.file' extension property per sourceset to configure cache file in the config if desired.
- Default Checkstyle config for latest Checkstyle makes use of the local analysis cache property.
- Upgraded fb-contrib to 6.8.2
- Upgraded Checkstyle to 7.4
Bug fixes:
- Backported Checkstyle classpath fix from Gradle 3.3. See original issue
- Fix #10 - The plugin can now be applied before the Java / Android plugins are applied.
- Fix NullPointerException after a module dependency has been removed or deleted.
Bug fixes:
- Reverted to PMD 5.5.1, since 5.5.2 introduced a NPE in CPD. See related issue
Improvements:
- Upgraded PMD to 5.5.2
- Stop using Gradle "<<" tasks operator, that's deprecated and will be removed in Gradle 4
Bug fixes:
- Android plugin 2.2.0 no longer warns on the usage of
useJack
Improvements:
- Android Lint task is now treated as a @CacheableTask under Gradle 3+
- Upgraded Checkstyle to 7.2
- Upgraded Monits' Findbugs plugin to 0.2.0
- Upgraded fb-contrib to 6.8.0
- No longer need Monits' SNAPSHOTS maven repository, the Monits' Findbugs plugin is in both jcenter and maven central
Bug fixes:
- Fixed a performance regression when using Findbugs under Gradle 3.X
Improvements:
- Upgraded Checkstyle to 7.1.1
- Upgraded fb-contrib to 6.6.3
- CPD task makes better use of Gradle caching mechanisms, providing greatly increased performance
Bug fixes:
- Don't change
provided
configuration if it already exists
Bug fixes:
- Android lint outputs no longer includes "fatal" reports, which are generated by
:lintVital*
tasks - DownloadTask refreshes the file contents when config changes regardless of last modification date of each file
Improvements:
- CPDTask can now ignore literals, identifiers and configure language. Plugin defaults to java, ignoring literals and identifiers.
- Android lint rules XML can now be confgured through DSL. Supports remote files.
- Android lint honors
ignoreErrors
settings. - Android lint can be disabled / enabled through the DSL. When disabled, the task will simply be SKIPPED.
LintVital*
tasks will still run, since that is part of the build step for release builds, not the check step. - Android will not warn for usage of deprecated
useJack
option anymore. - Upgraded Checkstyle to 7.1
- Upgraded fb-contrib to 6.6.2
- PMD can now cache remote config files, and use them when offline.
- Android lint XML report is now written under
$buildDir/reports/android/android-lint.xml
for consistency with other tools. This name is the same regardless of the used plugin version. HTML report is untouched.
Bug fixes:
- Android lint outputs are now properly set regardless of execution order
Improvements:
- Upgraded PMD to 5.5.1
Bug fixes:
- Allow for dependencies and configurations being added late in the configuration process.
- Checkstyle 6.19 should still use the latest checkstyle ruleset by default.
Bug fixes:
- Add compatibility with Android Gradle 2.2.+. See #6
- Fix idea project import, dependency scopes are honored
- Fix some typos in messages
Improvements:
- PMD updated to 5.5.0
- Checkstyle updated to 7.0 when using JRE 8+. If using JRE7, 6.19 is used, and an update warning issued.
Bug fixes:
- Improve classpath configuration for PMD on Android tests
Bug fixes:
- Improve classpath configuration for PMD on Android tests
- CPD can now be run without having PMD running
Bug fixes:
- Fix compatibility with Gradle 2.14
Improvements:
- Upgraded PMD to 5.4.2
- Upgraded Checkstyle to 6.19
- Include compiled .class files to PMD analysis (backported from 3.+) to fix false positives. See gradle/gradle#649 and https://sourceforge.net/p/pmd/bugs/1468/
Improvements:
- We manually inject inputs and outputs to Android Lint tasks to allow it to report up-to-date when there are no changes.
Improvements:
- Finbugs classpath and analyzed classes has been restricted. We get the same results, but with faster analysis.
Bug fixes:
- Findbugs reports only show issues in clases belonging to the corresponding sourceset.
- Extra Android lint rules are properly configured on old ([1.0, 1.3)) versions of the Android Gradle plugin
New features:
- Per-sourceset rules can now be configured by extended DSL. Reports are also generated by sourceset
- Non-multimoule projects are now supported
- The plugin is now fully compatible with plain Java projects
- Remote checkstyle / findbugs config is downloaded gziped on Gradle 2.13 if possible
- If there is no connectivity, downloading checkstyle / findbugs config will not fail the build if there is a previous downloaded version. A warning will be issued
- PMD rules can now be configured as relative file paths
- Default PMD rules are now configured according to the PMD version being used
- Remote checkstyle / findbugs config download now honors the
--offline
flag - Files are now downloaded only once per run, regardless of number of projects / sourcesets configured
- Warnings are issued when the version of gradle used is too old to support the latest tools
- All tasks defined under the plugin are now parallelizable
Bug fixes:
- Fix classpath population on an clean project
- Fix classpath population on Android proejcts to include generated classes in classpath (though still not analyzed)
- Fix path to mockable-androir-xx.jar under Android Gradle plugin 2.+
- Fix NPE when trying to not use a findbugs filter
- Update checkstyle to 6.18
- Remote config is now downloaded with a conditional request
- Update checkstyle to 6.17
- Update fb-contrib to 6.6.1
- Works with Gradle 2.10 or later as intended
- Botched release. Don't use.
- Update Checkstyle to 6.15
- Update fb-contrib to 6.6.0
- PMD / Findbugs ignore changes to resources in module dependencies, just as it does for it's own.
- Custom jars with Android lint rules can be specified as dependencies under
androidLint
- Make sure Monits' repository is added to resolve dependencies
- Upgrade to Checkstyle 6.14.1
- CPD no longer fails when no java files are found
- Update checkstyle to 6.14
- Update fb-contrib to 6.4.1
- Update PMD to 5.4.1
- Update Checkstyle to 6.13
- Update Checkstyle to 6.12.1
- Update fb-contrib to 6.4.0
- Update Checkstyle to 6.12
- Publish sources and Javadocs
- Move to Bintray
- Add license gradle plugin 0.12.1
- Add classpath to PMD for Gradle >= 2.8
- PMD updated to v5.4.0
- Checkstyle for Gradle >= 2.7 updated to 6.11.1
- PMD for Gradle >= 2.4 updated to 5.3.4
- Bug fix: Checkstyle rules compatible with versions grater than 6.7
- Findbugs accepts remote location for
findbugsExclude
- Bug fix: doesn't crash when
findbugsExclude
is not defined
- Bug fix: now it works with JDK 1.7
- Checkstyle updated to v6.10.1
- FB_CONTRIB updated to v6.2.3
- PMD updated to v5.1.3
- PMD for Gradle < 2.4
- Checkstyle uses v6.9 if Gradle v2.7 is used. Else, it runs with v6.7.
- FB_CONTRIB updated to v6.2.2
- Plugin can be configured with
ignoreErrors
parameter to stop build if errors are found.
- PMD & CPD compatible with Gradle v2.3+. It resolves dependencies and tool versions according to the used gradle version.