Skip to content

Commit

Permalink
Add support for IJ 2020.3 (#941)
Browse files Browse the repository at this point in the history
  • Loading branch information
raniejade authored Dec 8, 2020
1 parent 28c1329 commit 1f58a57
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-pr-idea-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
build:
strategy:
matrix:
ij_sdk: [IJ193, IJ201, IJ202]
ij_sdk: [IJ193, IJ201, IJ202, IJ203]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ij_sdk: [IJ193, IJ201, IJ202]
ij_sdk: [IJ193, IJ201, IJ202, IJ203]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
9 changes: 8 additions & 1 deletion spek-ide-plugin-intellij-idea/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,17 @@ val buildMatrix = mapOf(
"IJ183",
ij.VersionRange("202.1", "202.*"),
arrayOf("java", "org.jetbrains.kotlin:1.3.72-release-IJ2020.1-5")
),
"IJ203" to ij.BuildConfig(
"203.5981.155",
"IJ2020.3",
"IJ183",
ij.VersionRange("203.1", "203.*"),
arrayOf("java", "org.jetbrains.kotlin:1.4.0-release-IJ2020.2-1")
)
)

val sdkVersion = project.properties["ij.version"] ?: "IJ202"
val sdkVersion = project.properties["ij.version"] ?: "IJ203"
val settings = checkNotNull(buildMatrix[sdkVersion])

intellij {
Expand Down

0 comments on commit 1f58a57

Please sign in to comment.