Skip to content

Commit

Permalink
Use 1.27.1 version of Fabric plugin (#31)
Browse files Browse the repository at this point in the history
* Use 1.27.1 version of Fabric plugin

Not willing to update to higher version at this point
as it causes other compilation issues and requires more changes.

* Accept Android licenses on circle.ci

* Add one more license entry for Android SDK on Shippable
  • Loading branch information
vgaidarji committed Oct 9, 2019
1 parent 1d39aea commit c421f99
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
- checkout
- restore_cache:
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
- run:
name: Accept Android Licenses
command: yes | sdkmanager --licenses && yes | sdkmanager --update || exit 0
- run:
name: Download Dependencies
command: ./gradlew clean androidDependencies
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.2'
classpath 'io.fabric.tools:gradle:1.+'
classpath 'io.fabric.tools:gradle:1.27.1'
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.7.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
1 change: 1 addition & 0 deletions shippable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ build:
- mkdir "$ANDROID_HOME/licenses" || true
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo -e "\nd56f5187479451eabf01fb78af6dfcb131a6481e" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo -e "\n24333f8a63b6825ea9c5514f83c2829b004d1fee" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
# install missing Android dependencies
- echo y | android update sdk --no-ui --all --filter "android-15,android-21,android-22,android-25,build-tools-24.0.3"
Expand Down

0 comments on commit c421f99

Please sign in to comment.