Build React Native with Buck
Reviewed By: bestander Differential Revision: D2834002 fb-gh-sync-id: ebd5303a05fe9a01545365e4205d4cb8724a77a8
This commit is contained in:
parent
b6c1593d14
commit
9fea485138
|
@ -0,0 +1,8 @@
|
|||
|
||||
[android]
|
||||
target = Google Inc.:Google APIs:23
|
||||
|
||||
[maven_repositories]
|
||||
central = https://repo1.maven.org/maven2
|
||||
|
||||
|
|
@ -228,6 +228,7 @@ android {
|
|||
jniLibs.srcDir "$buildDir/react-ndk/exported"
|
||||
res.srcDirs = ['src/main/res/devsupport', 'src/main/res/shell']
|
||||
java {
|
||||
srcDirs = ['src/main/java', 'src/main/libraries/soloader']
|
||||
exclude 'com/facebook/react/processing'
|
||||
}
|
||||
}
|
||||
|
@ -244,7 +245,7 @@ android {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
compile fileTree(dir: 'libs', include: ['*.jar'])
|
||||
compile fileTree(dir: 'src/main/third-party/java/infer-annotations/', include: ['*.jar'])
|
||||
compile 'com.android.support:appcompat-v7:23.0.1'
|
||||
compile 'com.android.support:recyclerview-v7:23.0.1'
|
||||
compile 'com.facebook.fresco:fresco:0.8.1'
|
||||
|
|
Loading…
Reference in New Issue