[infer][PR] Update Android Plugin for Gradle (APG) and dependencies

Summary:
* Makes running Android example simpler - APG 2.2.0 automatically downloads dependencies so long as the user has previously accepted the Android SDK License.
* APG 2.2.0 requires Gradle 2.14 or newer, so updated to latest.
* Added `buildOptions.abortOnError false` so the build doesn't report any lint issues - the sample is designed to show Infer working, not Android lint.
Closes https://github.com/facebook/infer/pull/595

Reviewed By: dulmarod

Differential Revision: D4642707

Pulled By: jvillard

fbshipit-source-id: a2b2e02
master
Matthew Haughton 8 years ago committed by Facebook Github Bot
parent 27c5eb916b
commit c3fc0bfbfa

@ -3,6 +3,8 @@ apply plugin: 'com.android.application'
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
lintOptions.abortOnError false
defaultConfig {
applicationId "infer.inferandroidexample"

@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.0'
classpath 'com.android.tools.build:gradle:2.2.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-3.4-bin.zip

Loading…
Cancel
Save