mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-26 13:25:51 +08:00
bump android gradle to 3.1.4 (#20767)
Summary: Bump android gradle plugin to 3.1.4. We have been stay to 2.x too long. With 3.x we can have instant run and great performance and new features brought by google. Also thanks to CFKevinRef great pr to make this possible. pass all current ci. I have also tested RNTester release version works without crash. https://github.com/facebook/react-native/pull/17967. [GENERAL] [ANDROID] [FEATURE] - bump android gradle to 3.1.4 Pull Request resolved: https://github.com/facebook/react-native/pull/20767 Differential Revision: D9437576 Pulled By: hramos fbshipit-source-id: 6084056a1390582a75a879918f2538b0480f6299
This commit is contained in:
committed by
Facebook Github Bot
parent
044b399e65
commit
6e356895e7
@@ -293,29 +293,29 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile 'com.facebook.infer.annotation:infer-annotation:0.11.2'
|
||||
compile 'javax.inject:javax.inject:1'
|
||||
compile 'com.android.support:appcompat-v7:27.1.1'
|
||||
compile "com.facebook.fresco:fresco:${FRESCO_VERSION}"
|
||||
compile "com.facebook.fresco:imagepipeline-okhttp3:${FRESCO_VERSION}"
|
||||
compile 'com.facebook.soloader:soloader:0.5.1'
|
||||
compile 'com.google.code.findbugs:jsr305:3.0.2'
|
||||
compile "com.squareup.okhttp3:okhttp:${OKHTTP_VERSION}"
|
||||
compile "com.squareup.okhttp3:okhttp-urlconnection:${OKHTTP_VERSION}"
|
||||
compile 'com.squareup.okio:okio:1.14.0'
|
||||
api 'com.facebook.infer.annotation:infer-annotation:0.11.2'
|
||||
api 'javax.inject:javax.inject:1'
|
||||
api 'com.android.support:appcompat-v7:27.1.1'
|
||||
api "com.facebook.fresco:fresco:${FRESCO_VERSION}"
|
||||
api "com.facebook.fresco:imagepipeline-okhttp3:${FRESCO_VERSION}"
|
||||
api 'com.facebook.soloader:soloader:0.5.1'
|
||||
api 'com.google.code.findbugs:jsr305:3.0.2'
|
||||
api "com.squareup.okhttp3:okhttp:${OKHTTP_VERSION}"
|
||||
api "com.squareup.okhttp3:okhttp-urlconnection:${OKHTTP_VERSION}"
|
||||
api 'com.squareup.okio:okio:1.14.0'
|
||||
compile 'org.webkit:android-jsc:r174650'
|
||||
|
||||
testCompile "junit:junit:${JUNIT_VERSION}"
|
||||
testCompile "org.powermock:powermock-api-mockito:${POWERMOCK_VERSION}"
|
||||
testCompile "org.powermock:powermock-module-junit4-rule:${POWERMOCK_VERSION}"
|
||||
testCompile "org.powermock:powermock-classloading-xstream:${POWERMOCK_VERSION}"
|
||||
testCompile "org.mockito:mockito-core:${MOCKITO_CORE_VERSION}"
|
||||
testCompile "org.easytesting:fest-assert-core:${FEST_ASSERT_CORE_VERSION}"
|
||||
testCompile "org.robolectric:robolectric:${ROBOLECTRIC_VERSION}"
|
||||
testImplementation "junit:junit:${JUNIT_VERSION}"
|
||||
testImplementation "org.powermock:powermock-api-mockito:${POWERMOCK_VERSION}"
|
||||
testImplementation "org.powermock:powermock-module-junit4-rule:${POWERMOCK_VERSION}"
|
||||
testImplementation "org.powermock:powermock-classloading-xstream:${POWERMOCK_VERSION}"
|
||||
testImplementation "org.mockito:mockito-core:${MOCKITO_CORE_VERSION}"
|
||||
testImplementation "org.easytesting:fest-assert-core:${FEST_ASSERT_CORE_VERSION}"
|
||||
testImplementation "org.robolectric:robolectric:${ROBOLECTRIC_VERSION}"
|
||||
|
||||
androidTestCompile fileTree(dir: 'src/main/third-party/java/buck-android-support/', include: ['*.jar'])
|
||||
androidTestCompile 'com.android.support.test:runner:0.3'
|
||||
androidTestCompile "org.mockito:mockito-core:${MOCKITO_CORE_VERSION}"
|
||||
androidTestImplementation fileTree(dir: 'src/main/third-party/java/buck-android-support/', include: ['*.jar'])
|
||||
androidTestImplementation 'com.android.support.test:runner:0.3'
|
||||
androidTestImplementation "org.mockito:mockito-core:${MOCKITO_CORE_VERSION}"
|
||||
}
|
||||
|
||||
apply from: 'release.gradle'
|
||||
|
||||
Reference in New Issue
Block a user