Skip to content

Commit

Permalink
Tune Gradle to make our builds much faster
Browse files Browse the repository at this point in the history
* `org.gradle.parallel`: Enabling parallel builds makes the build
  considerably faster, that said, we need to make sure tests don't depend
  on each other, which should be already the case.

* `org.gradle.vfs.watch`: Since Gradle 6.5, avoids unnecessary I/O.

* `org.gradle.caching`: Shared caches can reduce the number of tasks we need to execute by
  reusing outputs already generated. This can significantly decrease build times but we
  need to make sure our tests do not depend on other external services,
  which is already the case.
  • Loading branch information
berngp committed Nov 12, 2021
1 parent 01240a4 commit 9816263
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion gradle.properties
Expand Up @@ -14,4 +14,9 @@
# limitations under the License.
#
systemProp.nebula.features.coreBomSupport=true
kotlin.code.style=official
kotlin.code.style=official

org.gradle.caching = true
org.gradle.parallel = true
# org.gradle.configureondemand = true
org.gradle.vfs.watch = true

0 comments on commit 9816263

Please sign in to comment.