Skip to content

Commit

Permalink
#895: add support for IntelliJ 2023.2 (#896)
Browse files Browse the repository at this point in the history
* #895: add support for IntelliJ 2023.2

---------

Co-authored-by: Mateusz Bajorek <[email protected]>
  • Loading branch information
mateusz-bajorek and Mateusz Bajorek authored Aug 4, 2023
1 parent b1aab8d commit 516d2be
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
version: [2022.2.5, 2022.3.3, 2023.1.3]
version: [2022.3.3, 2023.1.3, 2023.2]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion build-all.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

for v in "2022.2.5" "2022.3.3" "2023.1.3"; do
for v in "2022.3.3" "2023.1.3" "2023.2"; do
./build.sh $v
done
11 changes: 9 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ allprojects {
toolVersion = '10.11.0'
configDirectory = file("$rootProject.projectDir/config/checkstyle")
}

group = 'com.github.camel-tooling'
version = '1.0.2'
}
Expand Down Expand Up @@ -62,8 +62,15 @@ subprojects {
logger.quiet "Executing test ${desc.name} [${desc.className}] with result: ${result.resultType}"
}
}

tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}

tasks.withType(Test).configureEach {
jvmArgs = [
// avoid JBUIScale "Must be precomputed" error, because IDE is not started (LoadingState.APP_STARTED.isOccurred is false)
'-Djava.awt.headless=true'
]
}
}
4 changes: 2 additions & 2 deletions camel-idea-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ intellij {
// http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/build_number_ranges.html
patchPluginXml {
sinceBuild = "222"
untilBuild = "231.*"
untilBuild = "232.*"
}

runPluginVerifier {
ideVersions = [ "2022.2", "2022.3", "2023.1" ]
ideVersions = [ "2022.3", "2023.1", "2023.2" ]
}

// publishPlugin {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
camelVersion = 3.20.6
camelQuarkusVersion = 2.16.0
camelKameletVersion = 3.20.6
ideaVersion=2023.1.3
ideaVersion=2023.2
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Importing the project into IntelliJ as plug-in only require you choose ìmport f
#### <a name="runningwithpreviousversion"></a>Running the plug-in with a previous versions of IDEA

The plugin is tested with `IDEA 2023.1.3` or newer, but if you want to try with an older version you can follow this guide
The plugin is tested with `IDEA 2023.2` or newer, but if you want to try with an older version you can follow this guide

> - Follow the guide [build from source](#buildingfromsource)
> - Change the attribute `<idea-version since-build="221"/>` in `camel-idea-plugin/src/main/resources/META-INF/plugin.xml` to match the version. please see [document](http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/build_number_ranges.html) for build number description
Expand Down

0 comments on commit 516d2be

Please sign in to comment.