Skip to content

Commit 70f6940

Browse files
committed
Release 242.1.0 - hotfix1
- Fix intellij-gradle-plugin problem which stops verifying plugin. https://youtrack.jetbrains.com/issue/MP-6708
1 parent 1d4c4c3 commit 70f6940

File tree

2 files changed

+25
-4
lines changed

2 files changed

+25
-4
lines changed

.github/workflows/publish-master-to-eap.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ jobs:
2929
cache: gradle
3030
- name: Build with Gradle
3131
run: ./gradlew buildPlugin
32-
- name: Run Plugin Verifier
33-
run: ./gradlew runPluginVerifier
32+
# FIXME: Do not verify plugin for known problem: https://youtrack.jetbrains.com/issue/MP-6708
33+
# - name: Run Plugin Verifier
34+
# run: ./gradlew verifyPlugin
3435
# The USERNAME and TOKEN need to correspond to the credentials environment variables used in
3536
# the publishing section of your build.gradle
3637
- name: Publish to JetBrains Marketplace

build.gradle.kts

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import org.jetbrains.changelog.Changelog
22
import org.jetbrains.changelog.date
33
import org.jetbrains.changelog.markdownToHTML
4+
import org.jetbrains.intellij.platform.gradle.IntelliJPlatformType
45
import org.jetbrains.intellij.platform.gradle.TestFrameworkType
6+
import org.jetbrains.intellij.platform.gradle.models.ProductRelease
57

68
plugins {
79
java
@@ -36,6 +38,7 @@ dependencies {
3638
testFramework(TestFrameworkType.Platform)
3739
jetbrainsRuntime("21.0.4b598.4")
3840
instrumentationTools()
41+
pluginVerifier()
3942
}
4043

4144
implementation("org.apache.commons", "commons-collections4", "4.4")
@@ -50,14 +53,31 @@ changelog {
5053
header.set(provider { "[${version.get()}] - ${date()}" })
5154
}
5255

56+
intellijPlatform {
57+
pluginConfiguration {
58+
ideaVersion {
59+
sinceBuild = "242"
60+
untilBuild = ""
61+
}
62+
}
63+
pluginVerification {
64+
ides {
65+
select {
66+
types = listOf(IntelliJPlatformType.IntellijIdeaCommunity)
67+
channels = listOf(ProductRelease.Channel.RELEASE)
68+
sinceBuild = "242"
69+
untilBuild = ""
70+
}
71+
}
72+
}
73+
}
74+
5375
tasks {
5476
wrapper {
5577
distributionType = Wrapper.DistributionType.ALL
5678
}
5779

5880
patchPluginXml {
59-
sinceBuild.set("242")
60-
untilBuild.set("")
6181
pluginVersion.set(
6282
project.version.toString().run {
6383
val pieces = split('-')

0 commit comments

Comments
 (0)