You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
second ./gradlew -Djava.net.preferIPv4Stack=true :help
And the 2 invocations of gradle will reuse the same instance of Gradle daemon.
But in 6.4, the same operations spurs the creation of 2 different instances of daemons.
This has a direct impact on Android Studio that uses this flag. It means we cannot reuse the same instance of the daemon from CLI Gradle invocations and Android Studio syncs & builds.
The text was updated successfully, but these errors were encountered:
big-guy
changed the title
Regression in Gradle 6.4: New system property spurs a new daemon.
Regression: Different daemons are used between IDE and CLI builds for the same project
May 15, 2020
Using Gradle 6.3, we can launch gradle using
./gradlew :help
./gradlew -Djava.net.preferIPv4Stack=true :help
And the 2 invocations of gradle will reuse the same instance of Gradle daemon.
But in 6.4, the same operations spurs the creation of 2 different instances of daemons.
This has a direct impact on Android Studio that uses this flag. It means we cannot reuse the same instance of the daemon from CLI Gradle invocations and Android Studio syncs & builds.
The text was updated successfully, but these errors were encountered: