diff --git a/.github/workflows/ci_intellij_plugin.yml b/.github/workflows/ci_intellij_plugin.yml index 6b6e67a5..ad75665b 100644 --- a/.github/workflows/ci_intellij_plugin.yml +++ b/.github/workflows/ci_intellij_plugin.yml @@ -21,18 +21,15 @@ jobs: name: Build runs-on: ubuntu-latest - outputs: - pluginVerifierHomeDir: ${{ steps.properties.outputs.pluginVerifierHomeDir }} - steps: - name: Fetch sources uses: actions/checkout@v4 - - name: Setup Java + - name: Set up Java uses: actions/setup-java@v4 with: distribution: zulu java-version: 21 - - name: Setup Gradle + - name: Set up Gradle uses: gradle/actions/setup-gradle@v4 - name: Export properties id: properties @@ -41,7 +38,6 @@ jobs: run: | chmod +x ./gradlew PROPERTIES="$(./gradlew properties --console=plain -q)" - echo "pluginVerifierHomeDir=~/.pluginVerifier" >> $GITHUB_OUTPUT - name: Build plugin working-directory: ./editors/intellij run: | @@ -73,14 +69,16 @@ jobs: steps: - name: Fetch sources uses: actions/checkout@v4 - - name: Setup Java + - name: Set up Java uses: actions/setup-java@v4 with: distribution: zulu java-version: 21 - - name: Setup Gradle + - name: Set up Gradle uses: gradle/actions/setup-gradle@v4 - - name: Setup Tombi + with: + cache-read-only: true + - name: Set up Tombi uses: tombi-toml/setup-tombi@v1 - name: Run tests working-directory: ./editors/intellij @@ -114,7 +112,7 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 - - name: Setup Java + - name: Set up Java uses: actions/setup-java@v4 with: distribution: zulu @@ -138,24 +136,21 @@ jobs: large-packages: false - name: Fetch sources uses: actions/checkout@v4 - - name: Setup Java + - name: Set up Java uses: actions/setup-java@v4 with: distribution: zulu java-version: 21 - - name: Setup Gradle + - name: Set up Gradle uses: gradle/actions/setup-gradle@v4 - - name: Setup IDEs cache - uses: actions/cache@v4 with: - path: ${{ needs.build.outputs.pluginVerifierHomeDir }}/ides - key: plugin-verifier-${{ hashFiles('build/listProductsReleases.txt') }} + cache-read-only: true - name: Run verifier continue-on-error: true working-directory: ./editors/intellij run: | chmod +x ./gradlew - ./gradlew verifyPlugin -Dplugin.verifier.home.dir=${{ needs.build.outputs.pluginVerifierHomeDir }} + ./gradlew verifyPlugin - name: Upload result if: always() uses: actions/upload-artifact@v4 diff --git a/editors/intellij/build.gradle.kts b/editors/intellij/build.gradle.kts index a0afa4f6..6febbf29 100644 --- a/editors/intellij/build.gradle.kts +++ b/editors/intellij/build.gradle.kts @@ -99,7 +99,6 @@ intellijPlatform { ideaVersion { sinceBuild = providers.gradleProperty("pluginSinceBuild") - untilBuild = providers.gradleProperty("pluginUntilBuild") } } diff --git a/editors/intellij/gradle/libs.versions.toml b/editors/intellij/gradle/libs.versions.toml index 0a9fe98c..49707378 100644 --- a/editors/intellij/gradle/libs.versions.toml +++ b/editors/intellij/gradle/libs.versions.toml @@ -3,8 +3,8 @@ annotations = "26.0.2" junit = "4.13.2" # plugins -changelog = "2.2.1" -intelliJPlatform = "2.6.0" +changelog = "2.3.0" +intelliJPlatform = "2.7.0" kotlin = "2.2.0" kover = "0.9.1" qodana = "2025.1.1" diff --git a/editors/intellij/gradle/wrapper/gradle-wrapper.jar b/editors/intellij/gradle/wrapper/gradle-wrapper.jar index 9bbc975c..1b33c55b 100644 Binary files a/editors/intellij/gradle/wrapper/gradle-wrapper.jar and b/editors/intellij/gradle/wrapper/gradle-wrapper.jar differ diff --git a/editors/intellij/gradlew b/editors/intellij/gradlew index faf93008..23d15a93 100644 --- a/editors/intellij/gradlew +++ b/editors/intellij/gradlew @@ -114,7 +114,7 @@ case "$( uname )" in #( NONSTOP* ) nonstop=true ;; esac -CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar +CLASSPATH="\\\"\\\"" # Determine the Java command to use to start the JVM. @@ -213,7 +213,7 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' set -- \ "-Dorg.gradle.appname=$APP_BASE_NAME" \ -classpath "$CLASSPATH" \ - org.gradle.wrapper.GradleWrapperMain \ + -jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \ "$@" # Stop when "xargs" is not available. diff --git a/editors/intellij/gradlew.bat b/editors/intellij/gradlew.bat index 9d21a218..db3a6ac2 100644 --- a/editors/intellij/gradlew.bat +++ b/editors/intellij/gradlew.bat @@ -70,11 +70,11 @@ goto fail :execute @rem Setup the command line -set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar +set CLASSPATH= @rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* :end @rem End local scope for the variables with windows NT shell