Hi folks, If you're not an IntelliJ user, dis-regard this email. (Curiously, that includes Android Studio users: AS has an optimization here that IJ does not ship.)
You may have noticed, when running "app" in IntelliJ, that the pre-run build step has Gradle build roughly eight "project:assembleDebug" targets. It's slower than it needs to be: we really only need to build "app:assembleDebug". Here's how to streamline. Go to *Run > Edit Configurations ...* in the IntelliJ menu. Select the "app" configuration. Observe there is a "Make" step in the "Before launch" section. Select "Make" and hit the minus button, so that there are no steps. Then hit the plus button and choose "Run gradle task". When prompted, enter "app" (it'll complete to "gradle:app") for the "Gradle project" and enter "assembleDebug" for "Tasks". (Leave the other two entries blank.) Hit OK and then hit Apply to save your changes. You should find that selecting *Run* is much faster now (while working the same). Let me know what you find! Nick PS. If we had a less special configuration, with parts of the .idea directory shipping in topsrcdir, we could share these configurations automatically. Renaming our sources into Gradle standard directory is the most significant blocker to this that I am aware of.
_______________________________________________ mobile-firefox-dev mailing list [email protected] https://mail.mozilla.org/listinfo/mobile-firefox-dev

