Skip to content

Commit 08b092e

Browse files
committed
Merge branch 'main' into release/v2
* main: Prepare for release 2.14.3. Always add path for cmdline-tools to support macos-11.0. Gradle 6.8. Add Hash Checker app projects to consumers list Add LeakCanary to adopter list
2 parents 94bd1ed + 91b2b2f commit 08b092e

File tree

6 files changed

+21
-13
lines changed

6 files changed

+21
-13
lines changed

.github/workflows/workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- target: google_apis
3131
api-level: 29
3232
include:
33-
- os: macos-latest
33+
- os: macos-11.0
3434
api-level: 30
3535
target: google_apis
3636
- os: macos-latest

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## v2.14.3
4+
5+
* Support `macos-11.0` (Big Sur) runner - [#124](https://github.com/ReactiveCircus/android-emulator-runner/pull/124).
6+
37
## v2.14.2
48

59
* Support API 28 system images with `google_apis` or `google_apis_playstore` target - [#117](https://github.com/ReactiveCircus/android-emulator-runner/pull/117).

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -115,24 +115,27 @@ For a longer answer please refer to [this issue](https://github.com/ReactiveCirc
115115

116116
These are some of the open-source projects using (or used) **Android Emulator Runner**:
117117

118-
- [coil-kt/coil](https://github.com/coil-kt/coil/blob/master/.github/workflows/)
119-
- [cashapp/sqldelight](https://github.com/cashapp/sqldelight/blob/master/.github/workflows/)
120-
- [square/workflow](https://github.com/square/workflow/blob/main/.github/workflows/)
121-
- [square/retrofit](https://github.com/square/retrofit/blob/master/.github/workflows/)
118+
- [coil-kt/coil](https://github.com/coil-kt/coil/blob/master/.github/workflows)
119+
- [cashapp/sqldelight](https://github.com/cashapp/sqldelight/blob/master/.github/workflows)
120+
- [square/workflow-kotlin](https://github.com/square/workflow-kotlin/tree/main/.github/workflows)
121+
- [square/retrofit](https://github.com/square/retrofit/blob/master/.github/workflows)
122122
- [natario1/CameraView](https://github.com/natario1/CameraView/tree/master/.github/workflows)
123123
- [natario1/Transcoder](https://github.com/natario1/Transcoder/tree/master/.github/workflows)
124124
- [chrisbanes/insetter](https://github.com/chrisbanes/insetter/tree/main/.github/workflows)
125125
- [slackhq/keeper](https://github.com/slackhq/keeper/tree/main/.github/workflows)
126126
- [android/compose-samples](https://github.com/android/compose-samples/tree/main/.github/workflows)
127127
- [ReactiveCircus/streamlined](https://github.com/ReactiveCircus/streamlined/tree/main/.github/workflows)
128-
- [ReactiveCircus/FlowBinding](https://github.com/ReactiveCircus/FlowBinding)
128+
- [ReactiveCircus/FlowBinding](https://github.com/ReactiveCircus/FlowBinding/tree/main/.github/workflows)
129129
- [JakeWharton/RxBinding](https://github.com/JakeWharton/RxBinding/tree/master/.github/workflows)
130-
- [vinaygaba/Learn-Jetpack-Compose-By-Example](https://github.com/vinaygaba/Learn-Jetpack-Compose-By-Example/)
130+
- [vinaygaba/Learn-Jetpack-Compose-By-Example](https://github.com/vinaygaba/Learn-Jetpack-Compose-By-Example/tree/master/.github/workflows)
131131
- [ashishb/adb-enhanced](https://github.com/ashishb/adb-enhanced/tree/master/.github/workflows)
132132
- [vgaidarji/ci-matters](https://github.com/vgaidarji/ci-matters/blob/master/.github/workflows/main.yaml)
133-
- [simpledotorg/simple-android](https://github.com/simpledotorg/simple-android)
133+
- [simpledotorg/simple-android](https://github.com/simpledotorg/simple-android/tree/master/.github/workflows)
134134
- [cashapp/copper](https://github.com/cashapp/copper/blob/trunk/.github/workflows/build.yaml)
135135
- [square/radiography](https://github.com/square/radiography/blob/main/.github/workflows/android.yml)
136136
- [Shopify/android-testify](https://github.com/Shopify/android-testify/blob/master/.github/workflows/sample_build.yml)
137+
- [square/leakcanary](https://github.com/square/leakcanary/tree/main/.github/workflows)
138+
- [hash-checker/hash-checker](https://github.com/hash-checker/hash-checker/tree/master/.github/workflows)
139+
- [hash-checker/hash-checker-lite](https://github.com/hash-checker/hash-checker-lite/tree/master/.github/workflows)
137140

138141
If you are using **Android Emulator Runner** and want your project included in the list, please feel free to create an issue or open a pull request.

lib/sdk-installer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ function installAndroidSdk(apiLevel, target, arch, emulatorBuild, ndkVersion, cm
5454
const downloadPath = yield tc.downloadTool(sdkUrl);
5555
yield tc.extractZip(downloadPath, cmdlineToolsPath);
5656
yield io.mv(`${cmdlineToolsPath}/cmdline-tools`, `${cmdlineToolsPath}/latest`);
57-
// add paths for commandline-tools and platform-tools
58-
core.addPath(`${cmdlineToolsPath}/latest:${cmdlineToolsPath}/latest/bin:${process.env.ANDROID_SDK_ROOT}/platform-tools`);
5957
}
58+
// add paths for commandline-tools and platform-tools
59+
core.addPath(`${cmdlineToolsPath}/latest:${cmdlineToolsPath}/latest/bin:${process.env.ANDROID_SDK_ROOT}/platform-tools`);
6060
// additional permission and license requirements for Linux
6161
const sdkPreviewLicensePath = `${process.env.ANDROID_SDK_ROOT}/licenses/android-sdk-preview-license`;
6262
if (!isOnMac && !fs.existsSync(sdkPreviewLicensePath)) {

src/sdk-installer.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@ export async function installAndroidSdk(apiLevel: number, target: string, arch:
2626
const downloadPath = await tc.downloadTool(sdkUrl);
2727
await tc.extractZip(downloadPath, cmdlineToolsPath);
2828
await io.mv(`${cmdlineToolsPath}/cmdline-tools`, `${cmdlineToolsPath}/latest`);
29-
// add paths for commandline-tools and platform-tools
30-
core.addPath(`${cmdlineToolsPath}/latest:${cmdlineToolsPath}/latest/bin:${process.env.ANDROID_SDK_ROOT}/platform-tools`);
3129
}
3230

31+
// add paths for commandline-tools and platform-tools
32+
core.addPath(`${cmdlineToolsPath}/latest:${cmdlineToolsPath}/latest/bin:${process.env.ANDROID_SDK_ROOT}/platform-tools`);
33+
3334
// additional permission and license requirements for Linux
3435
const sdkPreviewLicensePath = `${process.env.ANDROID_SDK_ROOT}/licenses/android-sdk-preview-license`;
3536
if (!isOnMac && !fs.existsSync(sdkPreviewLicensePath)) {

test-fixture/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8-bin.zip

0 commit comments

Comments
 (0)