Skip to content

Commit

Permalink
Added 2022.3 Build Support. (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
Unthrottled authored Sep 25, 2022
1 parent c52bc10 commit ab7719a
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 18 deletions.
46 changes: 36 additions & 10 deletions .github/workflows/pre-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,46 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 11
java-version: 17
distribution: 'zulu'
- name: Grant execute permission for scripts
run: chmod +x gradlew

# Set environment variables
- name: Export Properties
id: properties
shell: bash
run: |
PROPERTIES="$(./gradlew properties --console=plain -q)"
VERSION="$(echo "$PROPERTIES" | grep "^version:" | cut -f2- -d ' ')"
echo "::set-output name=version::$VERSION"
echo "::set-output name=pluginVerifierHomeDir::~/.pluginVerifier"
./gradlew listProductsReleases # prepare list of IDEs for Plugin Verifier
- name: Perform quality check
run: ./gradlew clean check buildPlugin
# todo: bring back when 2022.2 is available
# - uses: ChrisCarini/intellij-platform-plugin-verifier-action@v1.2.1
# with:
# ide-versions: |
# ideaIC:2020.3
# ideaIU:2020.3
# ideaIC:2022.1.2
# ideaIU:2022.1.2

# Cache Plugin Verifier IDEs
- name: Setup Plugin Verifier IDEs Cache
uses: actions/cache@v3
with:
path: ${{ steps.properties.outputs.pluginVerifierHomeDir }}/ides
key: plugin-verifier-${{ hashFiles('build/listProductsReleases.txt') }}

# Run Verify Plugin task and IntelliJ Plugin Verifier tool
- name: Run Plugin Verification tasks
run: ./gradlew runPluginVerifier -Pplugin.verifier.home.dir=${{ steps.properties.outputs.pluginVerifierHomeDir }}

# Collect Plugin Verifier Result
- name: Collect Plugin Verifier Result
if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: pluginVerifier-result
path: ${{ github.workspace }}/build/reports/pluginVerifier
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: 11
java-version: 17
distribution: 'zulu'
- run: ./ciScripts/buildPlugin.sh
- name: Copy zip file
Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repositories {
}

group 'io.unthrottled'
version '1.10.0'
version '1.11.0'

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
Expand All @@ -36,10 +36,10 @@ intellij {
}

compileKotlin {
kotlinOptions.jvmTarget = "11"
kotlinOptions.jvmTarget = "17"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "11"
kotlinOptions.jvmTarget = "17"
}

markdownToHtml {
Expand Down
4 changes: 4 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog
----

# 1.11.0 [2022.3 Support]

- Added 2022.3 Build Support

# 1.10.0 [EAP Support]

- Plugin only supports 2022.2 builds or greater now.
Expand Down
2 changes: 1 addition & 1 deletion docs/RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
- Plugin only supports 2022.2 builds or greater now.
- Added 2022.3 Build Support

Please see the <a href="https://github.com/Unthrottled/normandy-progress-bar/blob/master/docs/CHANGELOG.md">Changelog</a> for more information.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
idePath=

sinceBuildP=222.2889.14
untilBuildP=222.*
untilBuildP=223.*

intellijPublishUsername=alexsimons999
intellijPublishPassword=
Expand Down
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-6.8.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ val UPDATE_MESSAGE =
"""
What's New?<br>
<ul>
<li>Only supporting +2022.2 builds now.</li>
<li>Added support for 2022.3 Builds.</li>
</ul>
<br>
<br>Please see the <a href="https://github.com/Unthrottled/normandy-progress-bar/blob/master/docs/CHANGELOG.md">Changelog</a> for more details.
Expand Down

0 comments on commit ab7719a

Please sign in to comment.