Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AS 4.1 support #932

Merged
merged 1 commit into from
Nov 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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]
as_sdk: [AS36, AS40, AS41]
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 @@ -64,7 +64,7 @@ jobs:
strategy:
fail-fast: false
matrix:
as_sdk: [AS36, AS40]
as_sdk: [AS36, AS40, AS41]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion samples/android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ org.gradle.jvmargs=-Xmx1536m
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true

spek_version=2.1.0-alpha.0.18+7d751e8
spek_version=2.0.14-alpha.0.3+29d63f7
android_junit5_version=1.5.2.0
junit5_runner=0.2.2
jacoco_version=0.8.1
Expand Down
4 changes: 2 additions & 2 deletions samples/android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Mon Mar 02 15:29:30 AEDT 2020
#Thu Nov 05 20:21:39 AEDT 2020
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
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 @@ -19,10 +19,17 @@ val buildMatrix = mapOf(
"AS34",
ij.VersionRange("193.6911.18", "193.6911.18.*"),
arrayOf("android", "java", "org.jetbrains.kotlin:1.3.70-release-Studio4.0-1")
),
"AS41" to ij.BuildConfig(
"201.7223.91",
"Studio4.0",
"AS34",
ij.VersionRange("201.8743.12", "201.8743.12.*"),
arrayOf("android", "java", "org.jetbrains.kotlin:1.3.72-release-Studio4.1-5")
)
)

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

intellij {
Expand Down