Skip to content

Commit

Permalink
Add support for AS 4.2 (#973)
Browse files Browse the repository at this point in the history
  • Loading branch information
raniejade authored Jun 19, 2021
1 parent 019d21e commit 3ba71c7
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-as-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
build:
strategy:
matrix:
as_sdk: [AS36, AS40, AS41]
as_sdk: [AS36, AS40, AS41, AS42]
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 @@ -66,7 +66,7 @@ jobs:
strategy:
fail-fast: false
matrix:
as_sdk: [AS36, AS40, AS41]
as_sdk: [AS36, AS40, AS41, AS42]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
9 changes: 8 additions & 1 deletion spek-ide-plugin-android-studio/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,17 @@ val buildMatrix = mapOf(
"AS34",
ij.VersionRange("201.8743.12", "201.8743.12.*"),
arrayOf("android", "java", "org.jetbrains.kotlin:1.3.72-release-Studio4.1-5")
),
"AS42" to ij.BuildConfig(
"202.7660.26",
"Studio4.1",
"AS34",
ij.VersionRange("202.7660.26", "202.7660.26.*"),
arrayOf("android", "java", "org.jetbrains.kotlin:1.4.10-release-Studio4.2-1")
)
)

val sdkVersion = project.properties["as.version"] ?: "AS41"
val sdkVersion = project.properties["as.version"] ?: "AS42"
val settings = checkNotNull(buildMatrix[sdkVersion])

intellij {
Expand Down

0 comments on commit 3ba71c7

Please sign in to comment.