Add accepted Android SDK license (#359)

Summary:
Android SDK license SHA has been updated as of January 16, 2019 so it needs to be re-accepted. This is only needed for CircleCI since in Travis setup `sdkmanager` is used in order to accept the Licenses.
Pull Request resolved: https://github.com/facebook/flipper/pull/359

Differential Revision: D13751841

Pulled By: passy

fbshipit-source-id: f3d84277f06bedf06b7a766429d9f7e3275bb516
This commit is contained in:
pavlospt
2019-01-21 10:31:14 -08:00
committed by Facebook Github Bot
parent 0daa5de428
commit 51c496ddef

View File

@@ -9,6 +9,16 @@ executors:
TERM: 'dumb' TERM: 'dumb'
jobs: jobs:
add_accepted_android_sdk_license:
executor: default-executor
docker:
- image: circleci/android:api-28-ndk-r17b
- run:
name: Add accepted Android SDK license
command: |
mkdir -p "$ANDROID_HOME/licenses/"
echo > "$ANDROID_HOME/licenses/android-sdk-license"
echo -n 24333f8a63b6825ea9c5514f83c2829b004d1fee > "$ANDROID_HOME/licenses/android-sdk-license"
snapshot: snapshot:
executor: default-executor executor: default-executor
docker: docker:
@@ -33,6 +43,7 @@ workflows:
version: 2 version: 2
build-and-deploy: build-and-deploy:
jobs: jobs:
- add_accepted_android_sdk_license
- snapshot: - snapshot:
filters: filters:
branches: branches: