Gradle wrapper and daemon

As many of you already know, the Gradle daemon can greatly accelerate Gradle.

I have a multi-module build and use of the Gradle shell.

When launched from the command line:

gradlew :MyModule:test

Gradle spends a few seconds analyzing my modules. If I run it again, it will use valuable time again and again.

I am using Gradle 1.12.

I tried to add this line:

org.gradle.daemon=true

for local.properties but no luck.

I do not know if I need to modify myHome / .gradle / gradle.properties or any other file.

+4
source share
1 answer

org.gradle.daemon=trueshould be added to gradle.properties, not local.properties.

+3
source

Source: https://habr.com/ru/post/1548620/


All Articles