Summary: This builds the java bindings with gradle, and adds a script for Facebook employees to upload the generated artifacts to JCenter. Reviewed By: emilsjolander Differential Revision: D4597335 fbshipit-source-id: 4c01695a8638000a417bfb49deba4b9b9b4e114b
37 lines
780 B
Python
37 lines
780 B
Python
# Copyright (c) 2014-present, Facebook, Inc.
|
|
# All rights reserved.
|
|
#
|
|
# This source code is licensed under the BSD-style license found in the
|
|
# LICENSE file in the root directory of this source tree. An additional grant
|
|
# of patent rights can be found in the PATENTS file in the same directory.
|
|
|
|
include_defs('//YOGA_DEFS')
|
|
|
|
android_aar(
|
|
name = 'android',
|
|
manifest_skeleton = 'src/main/AndroidManifest.xml',
|
|
deps = [
|
|
ANDROID_JAVA_TARGET,
|
|
ANDROID_RES_TARGET,
|
|
INFER_ANNOTATIONS_TARGET,
|
|
JAVA_TARGET,
|
|
PROGRUARD_ANNOTATIONS_TARGET,
|
|
],
|
|
visibility = [
|
|
'PUBLIC',
|
|
],
|
|
)
|
|
|
|
android_resource(
|
|
name = 'res',
|
|
res = 'src/main/res',
|
|
package = 'com.facebook.yoga.android',
|
|
visibility = [
|
|
'PUBLIC',
|
|
],
|
|
)
|
|
|
|
project_config(
|
|
src_target = ':android',
|
|
)
|