Best Practices Index
version 9.1.0-20250628022042+0000
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 | Introduced in Gradle |
---|---|---|
General |
8.14 |
|
General |
8.14 |
|
General |
8.14 |
|
General |
8.14 |
|
General |
9.0.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 |
|
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 |
|
Performance |
9.0.0 |
|
Security |
9.1.0 |