{"repo":"dropbox/focus","free":true,"listed":false,"github":"https://github.com/dropbox/focus","clone":"git clone https://github.com/dropbox/focus.git","description":"A Gradle plugin that helps you speed up builds by excluding unnecessary modules.","language":"Kotlin","stars":432,"topics":["gradle","gradle-plugin","android","build","build-tool","build-performance"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"🧘 Focus A Gradle plugin that generates module-specific settings.gradle files, allowing you to focus on a specific feature or module without needing to sync the rest of your monorepo. The Focus plugin evaluates your project setup and creates a unique settings.gradle file for the module you want to focus on, which only includes the dependencies required by that module. It then creates a .focus file that references the currently focused module. With these files in place only the modules that you need will be configured by Gradle when you sync your project. Deleting the .focus file, which can be done using the clearFocus task, will revert to using the includes file to configure your entire project. Setup Apply the plugin in your settings.gradle file. Note that the plugin is currently published to Maven Central, so you need to add it to the repositories list in the pluginsManagement block. Move all non-required include statements into settings-all.gradle . Projects that are always included can remain in your main settings.gradle file. Optionally configure the plugin if you'd like to use different settings files than the defaults: Whether or not you configure a custom focus file, it should be added to your .gitignore file as it's meant for a specific developer's workflow. Usage The Focus plugin adds a few tasks for you to interact with in your Gradle builds. Using these tasks you can create module specific settings files that will be automatically used by Gradle to configure only ","default_branch":null,"files":null,"tree":[],"storefront":"/r/dropbox","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dropbox/focus/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}