Skip to content

Commit

Permalink
chore: add config-file for ultimate dependencies (#172)
Browse files Browse the repository at this point in the history
* add config-file for ultimate dependencies
  • Loading branch information
MarcinVaadin authored Nov 22, 2024
1 parent 28f86ab commit 2ec3619
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 4 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
path: build/distributions
- uses: mshick/add-pr-comment@v2
with:
message-id: download-artifact-comment
refresh-message-position: true
message: |
Artifact build on last commit: [distributions.zip](${{ steps.artifact.outputs.artifact-url }}).
Expand All @@ -62,3 +63,14 @@ jobs:
cache: gradle
- name: Verify plugin
run: ./gradlew --no-configuration-cache verifyPlugin
- name: Find version
id: version
run: |
echo "IDE_VERSION=`ls build/reports/pluginVerifier/`" >> $GITHUB_OUTPUT
- name: Publish report
uses: mshick/add-pr-comment@v2
with:
message-id: verify-plugin-comment
refresh-message-position: true
message-path: |
build/reports/pluginVerifier/${{ steps.version.outputs.IDE_VERSION }}/report.md
6 changes: 5 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import org.jetbrains.intellij.platform.gradle.TestFrameworkType
import org.jetbrains.intellij.platform.gradle.tasks.VerifyPluginTask

plugins {
id("java")
Expand Down Expand Up @@ -59,7 +60,10 @@ intellijPlatform {
"1.0-SNAPSHOT"
}
}
pluginVerification { ides { recommended() } }
pluginVerification {
ides { recommended() }
verificationReportsFormats = listOf(VerifyPluginTask.VerificationReportsFormats.MARKDOWN)
}
}

configure<com.diffplug.gradle.spotless.SpotlessExtension> {
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@

<!-- Vaadin Endpoints IntelliJ Ultimate dependencies -->
<depends>com.intellij.properties</depends>
<depends optional="true">com.intellij.modules.microservices</depends>
<depends optional="true">com.intellij.microservices.jvm</depends>
<depends optional="true">com.intellij.modules.ultimate</depends>
<depends optional="true" config-file="vaadin-with-microservices.xml">com.intellij.modules.microservices</depends>
<depends optional="true" config-file="vaadin-with-microservices-jvm.xml">com.intellij.microservices.jvm</depends>
<depends optional="true" config-file="vaadin-with-ultimate.xml">com.intellij.modules.ultimate</depends>

<change-notes>
<![CDATA[
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/META-INF/vaadin-with-microservices-jvm.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<idea-plugin>

</idea-plugin>
3 changes: 3 additions & 0 deletions src/main/resources/META-INF/vaadin-with-microservices.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<idea-plugin>

</idea-plugin>
3 changes: 3 additions & 0 deletions src/main/resources/META-INF/vaadin-with-ultimate.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<idea-plugin>

</idea-plugin>

0 comments on commit 2ec3619

Please sign in to comment.