Skip to content

Commit

Permalink
Merge pull request #98 from FirstTimeInForever/241-exceptions
Browse files Browse the repository at this point in the history
Fix exception and deprecated code for 2024.1
  • Loading branch information
PHPirates authored May 6, 2024
2 parents 5175437 + fb8836f commit 35f80ea
Show file tree
Hide file tree
Showing 53 changed files with 271 additions and 181 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Fetch Sources
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@v1
uses: gradle/actions/wrapper-validation@v3

build:
name: Build Plugin
Expand All @@ -36,15 +36,16 @@ jobs:
changelog: ${{ steps.properties.outputs.changelog }}
steps:
- name: Fetch Sources
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up JDK 11
uses: actions/setup-java@v1
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 11
java-version: 17
distribution: 'zulu'

- name: Restore Gradle Cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
Expand All @@ -66,7 +67,7 @@ jobs:
# run: ./gradlew runPluginVerifier

- name: Upload artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: plugin-artifact
path: ./plugin/build/distributions/${{ steps.properties.outputs.name }}-${{ steps.properties.outputs.version }}.zip
Expand All @@ -79,7 +80,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Fetch Sources
uses: actions/checkout@v2
uses: actions/checkout@v4

# Remove old release drafts by using the curl request for the available releases with draft flag
- name: Remove Old Release Drafts
Expand All @@ -106,7 +107,7 @@ jobs:

# Download plugin artifact provided by the previous job
- name: Download Artifact
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: plugin-artifact

Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Intellij PDF Viewer Plugin Changelog
## 0.16.0
- Support 2024.1 ([#90](https://github.com/FirstTimeInForever/intellij-pdf-viewer/issues/90))
- Support 2024.1 ([#90](https://github.com/FirstTimeInForever/intellij-pdf-viewer/issues/90), [#98](https://github.com/FirstTimeInForever/intellij-pdf-viewer/issues/98))

## 0.15.0
- Fix scrolling performance on Mac ([#51](https://github.com/FirstTimeInForever/intellij-pdf-viewer/issues/51))
Expand Down
1 change: 0 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ plugins {
kotlin("jvm") apply false
kotlin("multiplatform") apply false
kotlin("plugin.serialization") apply false
kotlin("js") apply false
}
12 changes: 6 additions & 6 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@ version = 0.16.0
#platformVersion = 213.6777.52

#IntelliJ IDEA 2021.1.2 Preview
platformVersion = 241.10840-EAP-CANDIDATE-SNAPSHOT
pluginSinceVersion = 223.1
platformVersion = 2024.1
pluginSinceVersion = 241
pluginUntilVersion = 299.*
pluginVerifierIdeVersions = 213.6777.52, 222.3739.54
pluginVerifierIdeVersions = 241.15989.69

texifyVersion = 0.7.29
texifyVersion = 0.9.4

nodeVersion = 18.16.0

kotlinVersion = 1.8.0
kotlinVersion = 1.9.20
kotlinxSerializationJsonVersion = 1.2.1

kotlin.code.style = official
kotlin.mpp.stability.nowarn = true

# https://kotlinlang.org/docs/reference/using-gradle.html#dependency-on-the-standard-library for details.
#kotlin.stdlib.default.dependency = false
kotlin.stdlib.default.dependency = false
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit 35f80ea

Please sign in to comment.