Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-java@v4
- uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 21
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-java@v4
- uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 21
Expand All @@ -91,7 +91,7 @@ jobs:
set -euo pipefail
shopt -s nullglob
reports=plugin/build/reports/pluginVerifier
declared=$(grep -c '^ *ide("' plugin/build.gradle.kts)
declared=$(grep -c '^ *create(IntelliJPlatformType' plugin/build.gradle.kts)
dirs=("$reports"/*/)
echo "declared=$declared verified=${#dirs[@]}"
if [ "${#dirs[@]}" -ne "$declared" ]; then
Expand Down
2 changes: 1 addition & 1 deletion core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repositories {

dependencies {
testImplementation("org.junit.jupiter:junit-jupiter:6.1.2")
testImplementation("org.assertj:assertj-core:3.27.0")
testImplementation("org.assertj:assertj-core:3.27.7")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
13 changes: 8 additions & 5 deletions plugin/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import org.jetbrains.intellij.platform.gradle.IntelliJPlatformType

plugins {
id("java")
id("org.jetbrains.intellij.platform") version "2.1.0"
id("org.jetbrains.intellij.platform") version "2.18.1"
}

java {
Expand Down Expand Up @@ -43,12 +45,13 @@ intellijPlatform {
// the compile target cannot show. untilBuild stays unverified on purpose: 261 has no
// release to check against, so it remains a forward-looking promise.
//
// Use the string notation. The ide(IntelliJPlatformType, String) overload accepts these
// versions and then schedules nothing, leaving a green run that verified one IDE.
// create(type, version), not ide(...). On 2.1.0 the ide(String) notation worked and the
// typed overload silently scheduled nothing; 2.18.1 removed ide() altogether, so the same
// mistake is now a compile error rather than a green run that verified one IDE.
pluginVerification {
ides {
ide("IC-2024.2.5") // the floor sinceBuild = 242 claims
ide("IC-2024.3.5") // what the plugin compiles against
create(IntelliJPlatformType.IntellijIdeaCommunity, "2024.2.5") // the sinceBuild = 242 floor
create(IntelliJPlatformType.IntellijIdeaCommunity, "2024.3.5") // the compile target
}
}
}
Expand Down