Best Practices Index
version 9.2.0
The table below provides a complete list of documented Gradle Best Practices.
Use this as a quick reference to track newly added recommendations, check adoption status, or explore areas for improving your build:
| Title | Section | Added in Gradle Version | 
|---|---|---|
| General | 8.14 | |
| General | 8.14 | |
| General | 8.14 | |
| General | 8.14 | |
| General | 9.0.0 | |
| General | 9.2.0 | |
| General | 9.2.0 | |
| Structuring Builds | 9.0.0 | |
| Structuring Builds | 9.0.0 | |
| Structuring Builds | 9.0.0 | |
| Structuring Builds | 9.1.0 | |
| Dependencies | 8.14 | |
| Dependencies | 9.0.0 | |
| Dependencies | 9.0.0 | |
| Dependencies | 9.0.0 | |
| Dependencies | 9.0.0 | |
| Dependencies | 9.0.0 | |
| Dependencies | 9.1.0 | |
| Dependencies | 9.2.0 | |
| Task | 8.14 | |
| Favor @CacheableTask and @DisableCachingByDefault over cacheIf(Spec) and doNotCacheIf(String, Spec) | Task | 8.14 | 
| Task | 9.0.0 | |
| Task | 9.1.0 | |
| Task | 9.1.0 | |
| Task | 9.1.0 | |
| Performance | 9.0.0 | |
| Performance | 9.1.0 | |
| Performance | 9.1.0 | |
| Performance | 9.0.0 | |
| Security | 9.1.0 |