Bugfix/ci lint proguard (#19724)

Summary:
* avoid lint to interrupt ci
* add proguard rules
pass all ci
none
 [GENERAL] [ENHANCEMENT] [CI] - Fix lint and proguard
Closes https://github.com/facebook/react-native/pull/19724

Differential Revision: D8446721

Pulled By: hramos

fbshipit-source-id: b21c5418210b27dda6a7194995a25df39af0c92a
This commit is contained in:
gengjiawen 2018-06-15 07:54:22 -07:00 committed by Facebook Github Bot
parent 5fd5e6b230
commit 86d8c7a9b3
2 changed files with 13 additions and 0 deletions

View File

@ -120,6 +120,11 @@ android {
signingConfig signingConfigs.release
}
}
lintOptions {
abortOnError false
}
// applicationVariants are e.g. debug, release
applicationVariants.all { variant ->
variant.outputs.each { output ->

View File

@ -35,4 +35,12 @@ allprojects {
url "$androidSdk/extras/m2repository/"
}
}
project.configurations.all {
resolutionStrategy.eachDependency { details ->
if (details.requested.group == 'com.facebook.soloader') {
details.useVersion "0.3.0"
}
}
}
}