Skip to content

Commit

Permalink
feat(httpclient): add support for REST client plugin
Browse files Browse the repository at this point in the history
Add support for the REST client plugin in the project configuration and dependencies.
  • Loading branch information
phodal committed Jun 2, 2024
1 parent 8518bd3 commit 994ff0e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
18 changes: 9 additions & 9 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ fun prop(name: String): String =
val ideaPlatformVersion = prop("ideaPlatformVersion")
val pluginProjects: List<Project> get() = rootProject.allprojects.toList()
val basePluginArchiveName = "intellij-shire"
val ideaPlugins =
listOf(
"org.jetbrains.plugins.terminal",
"com.intellij.java",
"org.jetbrains.plugins.gradle",
"org.jetbrains.kotlin",
"JavaScript"
)
val ideaPlugins = listOf(
"org.jetbrains.plugins.terminal",
"com.intellij.java",
"org.jetbrains.plugins.gradle",
"org.jetbrains.kotlin",
"JavaScript",
"com.jetbrains.restClient"
)


// Configure project's dependencies
Expand Down Expand Up @@ -140,7 +140,7 @@ project(":toolsets:git") {
project(":toolsets:httpclient") {
intellij {
version.set(prop("ideaVersion"))
plugins.set(ideaPlugins + "com.jetbrains.restClient")
plugins.set(ideaPlugins)
}

dependencies {
Expand Down
2 changes: 2 additions & 0 deletions plugin/src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,7 @@
<module name="com.phodal.shirecore"/>
<module name="com.phodal.shirelang.java"/>
<module name="com.phodal.shirelang.git"/>

<module name="com.phodal.shirelang.httpclient"/>
</content>
</idea-plugin>
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<plugin id="com.jetbrains.restClient"/>
</dependencies>

<extensions defaultExtensionNs="com.phodal">
<shireRunService implementation="com.phodal.shire.httpclient.HttpClientRunService"/>
</extensions>
<extensions defaultExtensionNs="com.phodal">
<shireRunService implementation="com.phodal.shire.httpclient.HttpClientRunService"/>
</extensions>
</idea-plugin>

0 comments on commit 994ff0e

Please sign in to comment.