mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Add gradle wrapper
Reviewed By: astreet Differential Revision: D2590921 fb-gh-sync-id: cf870c96f772c06e1a8b69014ebd906978ea8c00
This commit is contained in:
committed by
facebook-github-bot-4
parent
84f7602ed8
commit
5518279610
29
ReactAndroid/src/main/java/com/facebook/react/common/BUCK
Normal file
29
ReactAndroid/src/main/java/com/facebook/react/common/BUCK
Normal file
@@ -0,0 +1,29 @@
|
||||
include_defs('//ReactAndroid/DEFS')
|
||||
|
||||
android_library(
|
||||
name = 'common',
|
||||
srcs = glob(['**/*.java']),
|
||||
deps = [
|
||||
':build_config',
|
||||
react_native_dep('third-party/java/infer-annotations:infer-annotations'),
|
||||
react_native_dep('third-party/java/jsr-305:jsr-305'),
|
||||
],
|
||||
visibility = [
|
||||
'PUBLIC',
|
||||
],
|
||||
)
|
||||
|
||||
android_build_config(
|
||||
name = 'build_config',
|
||||
package = 'com.facebook.react',
|
||||
visibility = [
|
||||
'PUBLIC',
|
||||
],
|
||||
values = [
|
||||
'boolean IS_INTERNAL_BUILD = true',
|
||||
],
|
||||
)
|
||||
|
||||
project_config(
|
||||
src_target = ':common',
|
||||
)
|
||||
Reference in New Issue
Block a user