The project minimization tool is an IntelliJ IDEA plugin that aims to reduce the size of projects localizing Kotlin compiler faults.
You need to run the following command to build the plugin:
./gradlew buildPlugin
The plugin artefact will be placed in project-minimization-plugin/build/distributions/project-minimization-plugin-*.zip
.
There are two ways to run the plugin:
- Build the plugin as a
zip
file and install it into your IDE via a standard pipeline. - Run the following command, which executes a new instance of IntelliJ IDEA with the preinstalled plugin:
./gradlew runIde
As soon as an IDE with the installed plugin is executed, you can perform an action Minimize Project
on an opened project.
The action can be found in the Code
menu bar or via search.
It is expected that during minimization, several new projects can be opened and closed. It's necessary to perform safe actions without affecting the original project. At the end of the minimization process, only one extra window with the minimized project should be opened.
TBD
The project documentation, including detailed descriptions of the algorithms and general pipeline, can be found here.