From 51c496ddef2c85fd80cc672a1fc72a0016f4badf Mon Sep 17 00:00:00 2001 From: pavlospt Date: Mon, 21 Jan 2019 10:31:14 -0800 Subject: [PATCH] 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 --- .circleci/config.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index c67d60377..00f894388 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,6 +9,16 @@ executors: TERM: 'dumb' 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: executor: default-executor docker: @@ -33,6 +43,7 @@ workflows: version: 2 build-and-deploy: jobs: + - add_accepted_android_sdk_license - snapshot: filters: branches: