This sample project reproduces a bug where a second gradle daemon is spawned when hitting the sync button in Android Studio. This happens when including a settings.gradle file in the buildSrc directory.
- Kill all gradle daemons
- File -> Sync Project with Gradle Files
- Watch as two Gradle Daemons are spawned. (verify by typing
jpsin console)