Skip to content

Commit

Permalink
Build React Native with Buck
Browse files Browse the repository at this point in the history
Reviewed By: bestander

Differential Revision: D2834002

fb-gh-sync-id: ebd5303a05fe9a01545365e4205d4cb8724a77a8
  • Loading branch information
Martin Konicek authored and facebook-github-bot-8 committed Jan 18, 2016
1 parent b6c1593 commit 9fea485
Show file tree
Hide file tree
Showing 23 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .buckconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

[android]
target = Google Inc.:Google APIs:23

[maven_repositories]
central = https://repo1.maven.org/maven2


3 changes: 2 additions & 1 deletion ReactAndroid/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}
Expand All @@ -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'
Expand Down
File renamed without changes.

0 comments on commit 9fea485

Please sign in to comment.