Skip to content

Commit

Permalink
Rewrite error reporter completely
Browse files Browse the repository at this point in the history
  • Loading branch information
FWDekker committed Jan 14, 2024
1 parent 2274a0e commit fb24cdb
Show file tree
Hide file tree
Showing 6 changed files with 344 additions and 65 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,10 @@ Please also check the [contribution guidelines](.github/CONTRIBUTING.md).

### 🔨 Build/run
```bash
$ gradlew runIde # Open a sandbox IntelliJ instance running the plugin
$ gradlew buildPlugin # Build an installable zip of the plugin
$ gradlew signPlugin # Sign built plugin
$ gradlew runIde # Open a sandbox IntelliJ instance running the plugin
$ gradlew buildPlugin # Build an installable zip of the plugin
$ gradlew buildPlugin -Pbuild.hotswap # Same as above, but allow hot-swapping the plugin during development
$ gradlew signPlugin # Sign built plugin
```
Signing the plugin requires specific environment variables to be set to refer to appropriate key files.
See [Plugin Signing](https://plugins.jetbrains.com/docs/intellij/plugin-signing.html) for more information.
Expand Down
5 changes: 5 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ dependencies {
implementation("com.github.sisyphsu:dateparser:${properties("dateparserVersion")}")
implementation("com.github.curious-odd-man:rgxgen:${properties("rgxgenVersion")}")
implementation("com.vdurmont:emoji-java:${properties("emojiVersion")}")
implementation("org.eclipse.mylyn.github:org.eclipse.egit.github.core:${properties("githubCore")}")
api("org.jetbrains.kotlin:kotlin-reflect")

testImplementation("org.assertj:assertj-swing-junit:${properties("assertjSwingVersion")}")
Expand Down Expand Up @@ -87,6 +88,10 @@ tasks {
updateSinceUntilBuild.set(false) // Set in `patchPluginXml`
}

buildSearchableOptions {
enabled = !project.hasProperty("build.hotswap")
}

patchPluginXml {
changeNotes.set(provider {
changelog.renderItem(
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ dateparserVersion=1.0.11
detektVersion=1.23.3
dokkaVersion=1.9.10
emojiVersion=5.1.1
githubCore=2.1.5
junitVersion=5.10.1
junitRunnerVersion=1.10.1
kotestVersion=5.8.0
Expand Down
Loading

0 comments on commit fb24cdb

Please sign in to comment.