Skip to content

Commit

Permalink
chore(skip-release): bump sinceIdea to 2022.3 (#250)
Browse files Browse the repository at this point in the history
* chore(skip-release): bump sinceIdea to 2022.3
* Update .github/workflows/IJ.yml

Signed-off-by: Andre Dietisheim <[email protected]>
Co-authored-by: Stephane Bouchet <[email protected]>
  • Loading branch information
adietish and sbouchet authored Apr 15, 2024
1 parent 2e3c49b commit 1249359
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/IJ.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
IJ: [IU-2022.1, IU-2022.2, IU-2022.3, IU-2023.1, IU-2023.2]
IJ: [IU-2022.3, IU-2023.1, IU-2023.2, IU-2023.3, IU-2024.1]

steps:
- uses: actions/checkout@v2
Expand Down
21 changes: 3 additions & 18 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
buildscript {
/*
* for more complex conversion ideaVersion -> sinceIdeaBuild
* see https://github.com/rhdunn/xquery-intellij-plugin/blob/master/build.gradle#L1-L47
*/
def since = ideaVersion =~ /I.-20(\d\d)\.([1-3])(\.\d+)?$/
if (since.matches()) {
ext.sinceIdeaBuild = "${since.group(1)}${since.group(2)}".toInteger()
} else {
ext.sinceIdeaBuild = 0
}

if (ext.sinceIdeaBuild >= 223) {
ext.java_version = "17"
} else {
ext.java_version = "11"
}
ext.java_version = "17"
}

plugins {
Expand All @@ -39,7 +24,7 @@ repositories {
maven { url 'https://repository.jboss.org' }
}

def versionsMap = ['IU-2022.1':'221.5080.1', 'IU-2022.2':'222.3345.16', 'IU-2022.3':'223.7571.175', 'IU-2023.1':'231.8109.91', 'IU-2023.2':'232.8660.158']
def versionsMap = ['IU-2022.3':'223.7571.175', 'IU-2023.1':'231.8109.91', 'IU-2023.2':'232.8660.158', 'IU-2023.3':'233.11799.7', 'IU-2024.1':'241.14494.19']

intellij {
version = ideaVersion
Expand All @@ -49,7 +34,7 @@ intellij {
'org.jetbrains.plugins.github',
'com.intellij.kubernetes:' + versionsMap[ideaVersion],
'com.redhat.devtools.intellij.telemetry:1.1.0.52',
'com.redhat.devtools.intellij.kubernetes:1.2.0.271']
'com.redhat.devtools.intellij.kubernetes:1.2.3.294']
updateSinceUntilBuild = false
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ideaVersion = IU-2023.2
ideaVersion = IU-2024.1
projectVersion=1.3.8-SNAPSHOT
jetBrainsToken=invalid
jetBrainsChannel=stable
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
]]>
</change-notes>

<idea-version since-build="221"/>
<idea-version since-build="223"/>

<!-- please see http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/plugin_compatibility.html
on how to target different products -->
Expand Down

0 comments on commit 1249359

Please sign in to comment.