diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0116a67a..18563310 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,7 +39,7 @@ jobs: uses: actions/setup-java@v4 with: distribution: corretto - java-version: 17 + java-version: 21 # install radicle - name: Install Radicle env: diff --git a/.github/workflows/code_quality.yml b/.github/workflows/code_quality.yml index e44e7493..5d0715ce 100644 --- a/.github/workflows/code_quality.yml +++ b/.github/workflows/code_quality.yml @@ -16,7 +16,7 @@ jobs: # Run Qodana inspections - name: Qodana - Code Inspection - uses: JetBrains/qodana-action@v2024.2.6 + uses: JetBrains/qodana-action@v2024.3.2 # Upload Qodana report as GitHub code scanning SARIF file - name: Qodana - Upload Github code scanning report diff --git a/.github/workflows/draft_release.yml b/.github/workflows/draft_release.yml index 93177c6d..b2284c2c 100644 --- a/.github/workflows/draft_release.yml +++ b/.github/workflows/draft_release.yml @@ -24,7 +24,7 @@ jobs: uses: actions/setup-java@v4 with: distribution: corretto - java-version: 17 + java-version: 21 cache: gradle # Set environment variables diff --git a/.github/workflows/end-to-end-tests.yml b/.github/workflows/end-to-end-tests.yml index 68100f39..a88be183 100644 --- a/.github/workflows/end-to-end-tests.yml +++ b/.github/workflows/end-to-end-tests.yml @@ -97,7 +97,7 @@ jobs: uses: actions/setup-java@v4 with: distribution: corretto - java-version: 17 + java-version: 21 - name: Setup FFmpeg if: ${{matrix.os == 'ubuntu-latest'}} uses: FedericoCarboni/setup-ffmpeg@v3 @@ -108,6 +108,13 @@ jobs: - name: Setup FFmpeg mac if: ${{matrix.os == 'macos-latest'}} run: brew install ffmpeg + - name: env + if: runner.os != 'Windows' + run: | + echo "JDK_JAVA_OPTIONS=--add-modules java.se --add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.management/sun.management=ALL-UNNAMED --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED --add-opens java.xml/javax.xml.transform=ALL-UNNAMED --add-exports java.desktop/sun.awt.image=ALL-UNNAMED" >> $GITHUB_ENV + - name: env on Windows + if: runner.os == 'Windows' + run: echo "JDK_JAVA_OPTIONS=--add-modules java.se --add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.management/sun.management=ALL-UNNAMED --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED --add-opens java.xml/javax.xml.transform=ALL-UNNAMED --add-exports java.desktop/sun.awt.image=ALL-UNNAMED" | Out-File -FilePath $env:GITHUB_ENV -Append - name: Clean working-directory: ${{ github.workspace }}/radicle-jetbrains-plugin run: ./gradlew :clean diff --git a/.github/workflows/plugin_verifier.yml b/.github/workflows/plugin_verifier.yml index 2c9397a0..b891dc82 100644 --- a/.github/workflows/plugin_verifier.yml +++ b/.github/workflows/plugin_verifier.yml @@ -27,8 +27,7 @@ jobs: uses: actions/setup-java@v4 with: distribution: corretto - java-version: 17 - cache: gradle + java-version: 21 # Set environment variables - name: Export Properties @@ -47,8 +46,6 @@ jobs: echo "changelog<> $GITHUB_OUTPUT echo "$CHANGELOG" >> $GITHUB_OUTPUT echo "EOF" >> $GITHUB_OUTPUT - - ./gradlew listProductsReleases # prepare list of IDEs for Plugin Verifier # Cache Plugin Verifier IDEs - name: Setup Plugin Verifier IDEs Cache uses: actions/cache@v4 @@ -58,7 +55,7 @@ jobs: # Run Verify Plugin task and IntelliJ Plugin Verifier tool - name: Run Plugin Verification tasks - run: ./gradlew runPluginVerifier -Dplugin.verifier.home.dir=${{ steps.properties.outputs.pluginVerifierHomeDir }} + run: ./gradlew verifyPlugin -Dplugin.verifier.home.dir=${{ needs.build.outputs.pluginVerifierHomeDir }} # Collect Plugin Verifier Result - name: Collect Plugin Verifier Result diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f514ba17..71df9061 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: uses: actions/setup-java@v4 with: distribution: corretto - java-version: 17 + java-version: 21 - name: Install Radicle env: RAD_HOME: ${{ github.workspace }}/.radicle diff --git a/.github/workflows/run-ui-tests.yml b/.github/workflows/run-ui-tests.yml index e71e47d7..5f46fd6d 100644 --- a/.github/workflows/run-ui-tests.yml +++ b/.github/workflows/run-ui-tests.yml @@ -41,13 +41,20 @@ jobs: uses: actions/setup-java@v4 with: distribution: corretto - java-version: 17 + java-version: 21 - name: Setup FFmpeg uses: FedericoCarboni/setup-ffmpeg@v3 with: # Not strictly necessary, but it may prevent rate limit # errors especially on GitHub-hosted macos machines. github-token: ${{ secrets.GITHUB_TOKEN }} + - name: env + if: runner.os != 'Windows' + run: | + echo "JDK_JAVA_OPTIONS=--add-modules java.se --add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.management/sun.management=ALL-UNNAMED --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED --add-opens java.xml/javax.xml.transform=ALL-UNNAMED --add-exports java.desktop/sun.awt.image=ALL-UNNAMED" >> $GITHUB_ENV + - name: env on Windows + if: runner.os == 'Windows' + run: echo "JDK_JAVA_OPTIONS=--add-modules java.se --add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.management/sun.management=ALL-UNNAMED --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED --add-opens java.xml/javax.xml.transform=ALL-UNNAMED --add-exports java.desktop/sun.awt.image=ALL-UNNAMED" | Out-File -FilePath $env:GITHUB_ENV -Append - name: Clean run: ./gradlew :clean - name: Run Idea diff --git a/.gitignore b/.gitignore index 83a97660..325946d5 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ build video /out/ +.intellijPlatform/ \ No newline at end of file diff --git a/.run/Run IDE for UI Tests.run.xml b/.run/Run IDE for UI Tests.run.xml index 2df0b5c4..5ffc4e71 100644 --- a/.run/Run IDE for UI Tests.run.xml +++ b/.run/Run IDE for UI Tests.run.xml @@ -4,6 +4,7 @@