A java library, intended to be consumed by plugins for JetBrains IDEs, providing utilities for handling errors from plugins.
The library was created to allow me to have shared code across my JetBrains plugins. Ultimately, I hope others also choose to leverage it, as well as contribute to its development.
Below is the instructions for developers wanting to leverage this library in their JetBrains IDE plugins.
Below is the instructions for developers wanting to develop on jetbrains-error-utils and pull it into a local JetBrains IDE plugin project.
- Make sure the
libraryVersioningradle.propertiesis a snapshot version (i.e. it ends in-SNAPSHOT; e.g.libraryVersion = 0.0.5-SNAPSHOT). - Run
./gradlew publishToMavenLocalto publish the snapshot to your local maven repository (e.g. to~/.m2/repository/com/chriscarini/jetbrains/jetbrains-error-utils/0.0.5-SNAPSHOT/). - In your local plugin project's
build.gradlefile, ensure the following exists:repositories { mavenLocal() } dependencies { implementation 'com.chriscarini.jetbrains.error-utils:error-utils:0.0.5-SNAPSHOT' } - Rebuild your plugin project.