5

As many of you already know, the Gradle daemon can speed considerably Gradle.

I have a multimodule build and using Gradle wrapper.

When running from the command line:

gradlew :MyModule:test

Gradle spends some seconds analyzing my modules. If I launch again, it consumes the valuable time again and again.

I'm using Gradle 1.12.

I've tried to set add this line:

org.gradle.daemon=true

to local.properties, but no luck.

I don't know if I have to change myHome/.gradle/gradle.properties or some other file.

Will
  • 24,082
  • 14
  • 97
  • 108
david.perez
  • 6,090
  • 4
  • 34
  • 57

1 Answers1

4

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

Peter Niederwieser
  • 121,412
  • 21
  • 324
  • 259