/ModuleMakerPlugin

Android Studio / IntelliJ plugin for creating modules

Primary LanguageKotlinMIT LicenseMIT

Module Maker

Featured in issue 355 and 356 of Kotlin Weekly

Featured in issue 579 of Android Weekly

Build Version Downloads

This is a plugin that allows one to create modules without having to copy / paste / modify existing modules.

Creating both single modules and enhanced modules (representing the 3 module system outline here)

Additional features include:

  1. Specifying gradle template for modules to align with your project specific defaults.
    1. Allows for custom variables to be replaced with generated values
  2. Aligning the gradle files to follow the module name
  3. Generating both .gradle and .gradle.kts build files for a given module

Demo

https://www.youtube.com/watch?v=ZtXCxBuiQNk

Building

Creating a release tag that follows release/x.x.x will create a Github release with the relevant artifacts.

How To Use

  • From under the Tools menu

    Tools > Module Maker

Installation

  • Using IDE built-in plugin system:

    Settings/Preferences > Plugins > Marketplace > Search for "Module Maker" > Install Plugin

  • Manually:

    Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...