react-native-tvos 0.64.2-0 → 0.64.2-4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/Libraries/Components/AppleTV/TVFocusGuideView.js +24 -1
  2. package/Libraries/Components/AppleTV/TVFocusGuideView.js.orig +61 -0
  3. package/Libraries/Components/Pressable/Pressable.js +4 -4
  4. package/Libraries/Components/StatusBar/NativeStatusBarManagerIOS.js +14 -8
  5. package/Libraries/Components/Touchable/Touchable.js +1 -0
  6. package/Libraries/NewAppScreen/components/HermesBadge.js +39 -12
  7. package/README.md +8 -2
  8. package/React/Base/RCTRootView.m +5 -35
  9. package/React/Base/RCTTVRemoteHandler.h +5 -2
  10. package/React/Base/RCTTVRemoteHandler.m +173 -70
  11. package/React/Modules/RCTTVMenuBridge.m +3 -0
  12. package/React/Views/RCTFont.mm +4 -0
  13. package/React/Views/RCTModalHostView.m +6 -9
  14. package/React/Views/RCTTVFocusGuideView.m +1 -1
  15. package/ReactAndroid/gradle.properties +1 -1
  16. package/ReactAndroid/src/androidTest/assets/AndroidTestBundle.js +47 -24
  17. package/ReactAndroid/src/main/java/com/facebook/react/ReactRootView.java +10 -9
  18. package/ReactAndroid/src/main/java/com/facebook/react/{ReactAndroidHWInputDeviceHelper.java → modules/core/ReactAndroidHWInputDeviceHelper.java} +27 -20
  19. package/ReactAndroid/src/main/java/com/facebook/react/views/modal/BUCK +1 -0
  20. package/ReactAndroid/src/main/java/com/facebook/react/views/modal/ReactModalHostView.java +21 -0
  21. package/ReactCommon/hermes/inspector/tools/msggen/yarn.lock +92 -97
  22. package/android/com/facebook/react/react-native/{0.64.2-0/react-native-0.64.2-0-sources.jar → 0.64.2-4/react-native-0.64.2-4-sources.jar} +0 -0
  23. package/android/com/facebook/react/react-native/0.64.2-4/react-native-0.64.2-4-sources.jar.md5 +1 -0
  24. package/android/com/facebook/react/react-native/0.64.2-4/react-native-0.64.2-4-sources.jar.sha1 +1 -0
  25. package/android/com/facebook/react/react-native/{0.64.2-0/react-native-0.64.2-0.aar → 0.64.2-4/react-native-0.64.2-4.aar} +0 -0
  26. package/android/com/facebook/react/react-native/0.64.2-4/react-native-0.64.2-4.aar.md5 +1 -0
  27. package/android/com/facebook/react/react-native/0.64.2-4/react-native-0.64.2-4.aar.sha1 +1 -0
  28. package/android/com/facebook/react/react-native/{0.64.2-0/react-native-0.64.2-0.pom → 0.64.2-4/react-native-0.64.2-4.pom} +1 -1
  29. package/android/com/facebook/react/react-native/0.64.2-4/react-native-0.64.2-4.pom.md5 +1 -0
  30. package/android/com/facebook/react/react-native/0.64.2-4/react-native-0.64.2-4.pom.sha1 +1 -0
  31. package/android/com/facebook/react/react-native/maven-metadata.xml +3 -3
  32. package/android/com/facebook/react/react-native/maven-metadata.xml.md5 +1 -1
  33. package/android/com/facebook/react/react-native/maven-metadata.xml.sha1 +1 -1
  34. package/package.json +1 -1
  35. package/template/App.js +1 -2
  36. package/template/package.json +1 -1
  37. package/tvos-types.d.ts +1 -1
  38. package/ReactAndroid/build.gradle.orig +0 -479
  39. package/android/com/facebook/react/react-native/0.64.2-0/react-native-0.64.2-0-sources.jar.md5 +0 -1
  40. package/android/com/facebook/react/react-native/0.64.2-0/react-native-0.64.2-0-sources.jar.sha1 +0 -1
  41. package/android/com/facebook/react/react-native/0.64.2-0/react-native-0.64.2-0.aar.md5 +0 -1
  42. package/android/com/facebook/react/react-native/0.64.2-0/react-native-0.64.2-0.aar.sha1 +0 -1
  43. package/android/com/facebook/react/react-native/0.64.2-0/react-native-0.64.2-0.pom.md5 +0 -1
  44. package/android/com/facebook/react/react-native/0.64.2-0/react-native-0.64.2-0.pom.sha1 +0 -1
@@ -1,479 +0,0 @@
1
- /*
2
- * Copyright (c) Facebook, Inc. and its affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
-
8
- plugins {
9
- id("com.android.library")
10
- id("com.facebook.react.codegen")
11
- id("maven")
12
- id("de.undercouch.download")
13
- }
14
-
15
- import java.nio.file.Paths
16
-
17
- import de.undercouch.gradle.tasks.download.Download
18
- import org.apache.tools.ant.taskdefs.condition.Os
19
- import org.apache.tools.ant.filters.ReplaceTokens
20
-
21
- // We download various C++ open-source dependencies into downloads.
22
- // We then copy both the downloaded code and our custom makefiles and headers into third-party-ndk.
23
- // After that we build native code from src/main/jni with module path pointing at third-party-ndk.
24
-
25
- def customDownloadsDir = System.getenv("REACT_NATIVE_DOWNLOADS_DIR")
26
- def downloadsDir = customDownloadsDir ? new File(customDownloadsDir) : new File("$buildDir/downloads")
27
- def thirdPartyNdkDir = new File("$buildDir/third-party-ndk")
28
-
29
- // You need to have following folders in this directory:
30
- // - boost_1_63_0
31
- // - double-conversion-1.1.6
32
- // - folly-deprecate-dynamic-initializer
33
- // - glog-0.3.5
34
- def dependenciesPath = System.getenv("REACT_NATIVE_DEPENDENCIES")
35
-
36
- // The 'USE_FABRIC' environment variable will build Fabric C++ code into the bundle
37
- // USE_FABRIC=0 will build RN excluding fabric
38
- // USE_FABRIC=1 will build RN including fabric
39
- def enableFabric = (System.getenv('USE_FABRIC') ?: '0').toBoolean()
40
-
41
- // The Boost library is a very large download (>100MB).
42
- // If Boost is already present on your system, define the REACT_NATIVE_BOOST_PATH env variable
43
- // and the build will use that.
44
- def boostPath = dependenciesPath ?: System.getenv("REACT_NATIVE_BOOST_PATH")
45
-
46
- // Setup build type for NDK, supported values: {debug, release}
47
- def nativeBuildType = System.getenv("NATIVE_BUILD_TYPE") ?: "release"
48
-
49
- task createNativeDepsDirectories {
50
- downloadsDir.mkdirs()
51
- thirdPartyNdkDir.mkdirs()
52
- }
53
-
54
- task downloadBoost(dependsOn: createNativeDepsDirectories, type: Download) {
55
- src("https://github.com/react-native-community/boost-for-react-native/releases/download/v${BOOST_VERSION.replace("_", ".")}-0/boost_${BOOST_VERSION}.tar.gz")
56
- onlyIfNewer(true)
57
- overwrite(false)
58
- dest(new File(downloadsDir, "boost_${BOOST_VERSION}.tar.gz"))
59
- }
60
-
61
- task prepareBoost(dependsOn: boostPath ? [] : [downloadBoost], type: Copy) {
62
- from(boostPath ?: tarTree(resources.gzip(downloadBoost.dest)))
63
- from("src/main/jni/third-party/boost/Android.mk")
64
- include("Android.mk", "boost_${BOOST_VERSION}/boost/**/*.hpp", "boost/boost/**/*.hpp")
65
- includeEmptyDirs = false
66
- into("$thirdPartyNdkDir/boost")
67
- doLast {
68
- file("$thirdPartyNdkDir/boost/boost").renameTo("$thirdPartyNdkDir/boost/boost_${BOOST_VERSION}")
69
- }
70
- }
71
-
72
- task downloadDoubleConversion(dependsOn: createNativeDepsDirectories, type: Download) {
73
- src("https://github.com/google/double-conversion/archive/v${DOUBLE_CONVERSION_VERSION}.tar.gz")
74
- onlyIfNewer(true)
75
- overwrite(false)
76
- dest(new File(downloadsDir, "double-conversion-${DOUBLE_CONVERSION_VERSION}.tar.gz"))
77
- }
78
-
79
- task prepareDoubleConversion(dependsOn: dependenciesPath ? [] : [downloadDoubleConversion], type: Copy) {
80
- from(dependenciesPath ?: tarTree(downloadDoubleConversion.dest))
81
- from("src/main/jni/third-party/double-conversion/Android.mk")
82
- include("double-conversion-${DOUBLE_CONVERSION_VERSION}/src/**/*", "Android.mk")
83
- filesMatching("*/src/**/*", { fname -> fname.path = "double-conversion/${fname.name}" })
84
- includeEmptyDirs = false
85
- into("$thirdPartyNdkDir/double-conversion")
86
- }
87
-
88
- task downloadFolly(dependsOn: createNativeDepsDirectories, type: Download) {
89
- src("https://github.com/facebook/folly/archive/v${FOLLY_VERSION}.tar.gz")
90
- onlyIfNewer(true)
91
- overwrite(false)
92
- dest(new File(downloadsDir, "folly-${FOLLY_VERSION}.tar.gz"))
93
- }
94
-
95
- task prepareFolly(dependsOn: dependenciesPath ? [] : [downloadFolly], type: Copy) {
96
- from(dependenciesPath ?: tarTree(downloadFolly.dest))
97
- from("src/main/jni/third-party/folly/Android.mk")
98
- include("folly-${FOLLY_VERSION}/folly/**/*", "Android.mk")
99
- eachFile { fname -> fname.path = (fname.path - "folly-${FOLLY_VERSION}/") }
100
- includeEmptyDirs = false
101
- into("$thirdPartyNdkDir/folly")
102
- }
103
-
104
- task prepareHermes(dependsOn: createNativeDepsDirectories, type: Copy) {
105
- def hermesPackagePath = findNodeModulePath(projectDir, "hermes-engine")
106
- if (!hermesPackagePath) {
107
- throw new GradleScriptException("Could not find the hermes-engine npm package", null)
108
- }
109
-
110
- def hermesAAR = file("$hermesPackagePath/android/hermes-debug.aar")
111
- if (!hermesAAR.exists()) {
112
- throw new GradleScriptException("The hermes-engine npm package is missing \"android/hermes-debug.aar\"", null)
113
- }
114
-
115
- def soFiles = zipTree(hermesAAR).matching({ it.include "**/*.so" })
116
-
117
- from soFiles
118
- from "src/main/jni/first-party/hermes/Android.mk"
119
- into "$thirdPartyNdkDir/hermes"
120
- }
121
-
122
- task downloadGlog(dependsOn: createNativeDepsDirectories, type: Download) {
123
- src("https://github.com/google/glog/archive/v${GLOG_VERSION}.tar.gz")
124
- onlyIfNewer(true)
125
- overwrite(false)
126
- dest(new File(downloadsDir, "glog-${GLOG_VERSION}.tar.gz"))
127
- }
128
-
129
- // Prepare glog sources to be compiled, this task will perform steps that normally should've been
130
- // executed by automake. This way we can avoid dependencies on make/automake
131
- task prepareGlog(dependsOn: dependenciesPath ? [] : [downloadGlog], type: Copy) {
132
- from(dependenciesPath ?: tarTree(downloadGlog.dest))
133
- from("src/main/jni/third-party/glog/")
134
- include("glog-${GLOG_VERSION}/src/**/*", "Android.mk", "config.h")
135
- includeEmptyDirs = false
136
- filesMatching("**/*.h.in") {
137
- filter(ReplaceTokens, tokens: [
138
- ac_cv_have_unistd_h : "1",
139
- ac_cv_have_stdint_h : "1",
140
- ac_cv_have_systypes_h : "1",
141
- ac_cv_have_inttypes_h : "1",
142
- ac_cv_have_libgflags : "0",
143
- ac_google_start_namespace : "namespace google {",
144
- ac_cv_have_uint16_t : "1",
145
- ac_cv_have_u_int16_t : "1",
146
- ac_cv_have___uint16 : "0",
147
- ac_google_end_namespace : "}",
148
- ac_cv_have___builtin_expect : "1",
149
- ac_google_namespace : "google",
150
- ac_cv___attribute___noinline : "__attribute__ ((noinline))",
151
- ac_cv___attribute___noreturn : "__attribute__ ((noreturn))",
152
- ac_cv___attribute___printf_4_5: "__attribute__((__format__ (__printf__, 4, 5)))"
153
- ])
154
- it.path = (it.name - ".in")
155
- }
156
- into("$thirdPartyNdkDir/glog")
157
-
158
- doLast {
159
- copy {
160
- from(fileTree(dir: "$thirdPartyNdkDir/glog", includes: ["stl_logging.h", "logging.h", "raw_logging.h", "vlog_is_on.h", "**/src/glog/log_severity.h"]).files)
161
- includeEmptyDirs = false
162
- into("$thirdPartyNdkDir/glog/exported/glog")
163
- }
164
- }
165
- }
166
-
167
- // Create Android.mk library module based on jsc from npm
168
- task prepareJSC {
169
- doLast {
170
- def jscPackagePath = findNodeModulePath(projectDir, "jsc-android")
171
- if (!jscPackagePath) {
172
- throw new GradleScriptException("Could not find the jsc-android npm package", null)
173
- }
174
-
175
- def jscDist = file("$jscPackagePath/dist")
176
- if (!jscDist.exists()) {
177
- throw new GradleScriptException("The jsc-android npm package is missing its \"dist\" directory", null)
178
- }
179
-
180
- def jscAAR = fileTree(jscDist).matching({ it.include "**/android-jsc/**/*.aar" }).singleFile
181
- def soFiles = zipTree(jscAAR).matching({ it.include "**/*.so" })
182
-
183
- def headerFiles = fileTree(jscDist).matching({ it.include "**/include/*.h" })
184
-
185
- copy {
186
- from(soFiles)
187
- from(headerFiles)
188
- from("src/main/jni/third-party/jsc/Android.mk")
189
-
190
- filesMatching("**/*.h", { it.path = "JavaScriptCore/${it.name}" })
191
-
192
- includeEmptyDirs(false)
193
- into("$thirdPartyNdkDir/jsc")
194
- }
195
- }
196
- }
197
- task downloadNdkBuildDependencies {
198
- if (!boostPath) {
199
- dependsOn(downloadBoost)
200
- }
201
- dependsOn(downloadDoubleConversion)
202
- dependsOn(downloadFolly)
203
- dependsOn(downloadGlog)
204
- }
205
-
206
- /**
207
- * Finds the path of the installed npm package with the given name using Node's
208
- * module resolution algorithm, which searches "node_modules" directories up to
209
- * the file system root. This handles various cases, including:
210
- *
211
- * - Working in the open-source RN repo:
212
- * Gradle: /path/to/react-native/ReactAndroid
213
- * Node module: /path/to/react-native/node_modules/[package]
214
- *
215
- * - Installing RN as a dependency of an app and searching for hoisted
216
- * dependencies:
217
- * Gradle: /path/to/app/node_modules/react-native/ReactAndroid
218
- * Node module: /path/to/app/node_modules/[package]
219
- *
220
- * - Working in a larger repo (e.g., Facebook) that contains RN:
221
- * Gradle: /path/to/repo/path/to/react-native/ReactAndroid
222
- * Node module: /path/to/repo/node_modules/[package]
223
- *
224
- * The search begins at the given base directory (a File object). The returned
225
- * path is a string.
226
- */
227
- def findNodeModulePath(baseDir, packageName) {
228
- def basePath = baseDir.toPath().normalize()
229
- // Node's module resolution algorithm searches up to the root directory,
230
- // after which the base path will be null
231
- while (basePath) {
232
- def candidatePath = Paths.get(basePath.toString(), "node_modules", packageName)
233
- if (candidatePath.toFile().exists()) {
234
- return candidatePath.toString()
235
- }
236
- basePath = basePath.getParent()
237
- }
238
- return null
239
- }
240
-
241
- def getNdkBuildName() {
242
- if (Os.isFamily(Os.FAMILY_WINDOWS)) {
243
- return "ndk-build.cmd"
244
- } else {
245
- return "ndk-build"
246
- }
247
- }
248
-
249
- def findNdkBuildFullPath() {
250
- // we allow to provide full path to ndk-build tool
251
- if (hasProperty("ndk.command")) {
252
- return property("ndk.command")
253
- }
254
- // or just a path to the containing directory
255
- if (hasProperty("ndk.path")) {
256
- def ndkDir = property("ndk.path")
257
- return new File(ndkDir, getNdkBuildName()).getAbsolutePath()
258
- }
259
-
260
- if (System.getenv("ANDROID_NDK") != null) {
261
- def ndkDir = System.getenv("ANDROID_NDK")
262
- return new File(ndkDir, getNdkBuildName()).getAbsolutePath()
263
- }
264
-
265
- def ndkDir = android.ndkDirectory ? android.ndkDirectory.absolutePath : null
266
-
267
- if (ndkDir) {
268
- return new File(ndkDir, getNdkBuildName()).getAbsolutePath()
269
- }
270
- return null
271
- }
272
-
273
- def reactNativeDevServerPort() {
274
- def value = project.getProperties().get("reactNativeDevServerPort")
275
- return value != null ? value : "8081"
276
- }
277
-
278
- def reactNativeInspectorProxyPort() {
279
- def value = project.getProperties().get("reactNativeInspectorProxyPort")
280
- return value != null ? value : reactNativeDevServerPort()
281
- }
282
-
283
- def getNdkBuildFullPath() {
284
- def ndkBuildFullPath = findNdkBuildFullPath()
285
- if (ndkBuildFullPath == null) {
286
- throw new GradleScriptException(
287
- "ndk-build binary cannot be found, check if you've set " +
288
- "\$ANDROID_NDK environment variable correctly or if ndk.dir is " +
289
- "setup in local.properties",
290
- null)
291
- }
292
- if (!new File(ndkBuildFullPath).canExecute()) {
293
- throw new GradleScriptException(
294
- "ndk-build binary " + ndkBuildFullPath + " doesn't exist or isn't executable.\n" +
295
- "Check that the \$ANDROID_NDK environment variable, or ndk.dir in local.properties, is set correctly.\n" +
296
- "(On Windows, make sure you escape backslashes in local.properties or use forward slashes, e.g. C:\\\\ndk or C:/ndk rather than C:\\ndk)",
297
- null)
298
- }
299
- return ndkBuildFullPath
300
- }
301
-
302
- def buildReactNdkLib = tasks.register("buildReactNdkLib", Exec) {
303
- dependsOn(prepareJSC, prepareHermes, prepareBoost, prepareDoubleConversion, prepareFolly, prepareGlog, extractAARHeaders, extractJNIFiles)
304
- dependsOn("generateCodegenArtifactsFromSchema");
305
-
306
- inputs.dir("$projectDir/../ReactCommon")
307
- inputs.dir("src/main/jni")
308
- inputs.dir("src/main/java/com/facebook/react/modules/blob")
309
- outputs.dir("$buildDir/react-ndk/all")
310
- commandLine(getNdkBuildFullPath(),
311
- "NDK_DEBUG=" + (nativeBuildType.equalsIgnoreCase("debug") ? "1" : "0"),
312
- "NDK_PROJECT_PATH=null",
313
- "NDK_APPLICATION_MK=$projectDir/src/main/jni/Application.mk",
314
- "NDK_OUT=" + temporaryDir,
315
- "NDK_LIBS_OUT=$buildDir/react-ndk/all",
316
- "THIRD_PARTY_NDK_DIR=$thirdPartyNdkDir",
317
- "REACT_COMMON_DIR=$projectDir/../ReactCommon",
318
- "REACT_GENERATED_SRC_DIR=$buildDir/generated/source",
319
- "REACT_SRC_DIR=$projectDir/src/main/java/com/facebook/react",
320
- "BUILD_FABRIC=$enableFabric",
321
- "-C", file("src/main/jni/react/jni").absolutePath,
322
- "--jobs", project.findProperty("jobs") ?: Runtime.runtime.availableProcessors()
323
- )
324
- }
325
-
326
- def cleanReactNdkLib = tasks.register("cleanReactNdkLib", Exec) {
327
- ignoreExitValue(true)
328
- errorOutput(new ByteArrayOutputStream())
329
- commandLine(getNdkBuildFullPath(),
330
- "NDK_APPLICATION_MK=$projectDir/src/main/jni/Application.mk",
331
- "THIRD_PARTY_NDK_DIR=$thirdPartyNdkDir",
332
- "REACT_COMMON_DIR=$projectDir/../ReactCommon",
333
- "-C", file("src/main/jni/react/jni").absolutePath,
334
- "clean")
335
- doLast {
336
- file(AAR_OUTPUT_URL).delete()
337
- println("Deleted aar output dir at ${file(AAR_OUTPUT_URL)}")
338
- }
339
- }
340
-
341
- def packageReactNdkLibs = tasks.register("packageReactNdkLibs", Copy) {
342
- dependsOn(buildReactNdkLib)
343
- from("$buildDir/react-ndk/all")
344
- into("$buildDir/react-ndk/exported")
345
- exclude("**/libjsc.so")
346
- exclude("**/libhermes.so")
347
- }
348
-
349
- def packageReactNdkLibsForBuck = tasks.register("packageReactNdkLibsForBuck", Copy) {
350
- dependsOn(packageReactNdkLibs)
351
- from("$buildDir/react-ndk/exported")
352
- into("src/main/jni/prebuilt/lib")
353
- }
354
-
355
- task extractAARHeaders {
356
- doLast {
357
- configurations.extractHeaders.files.each {
358
- def file = it.absoluteFile
359
- def packageName = file.name.tokenize('-')[0]
360
- copy {
361
- from zipTree(file)
362
- into "$projectDir/src/main/jni/first-party/$packageName/headers"
363
- include "**/*.h"
364
- }
365
- }
366
- }
367
- }
368
-
369
- task extractJNIFiles {
370
- doLast {
371
- configurations.extractJNI.files.each {
372
- def file = it.absoluteFile
373
- def packageName = file.name.tokenize('-')[0]
374
- copy {
375
- from zipTree(file)
376
- into "$projectDir/src/main/jni/first-party/$packageName/"
377
- include "jni/**/*"
378
- }
379
- }
380
- }
381
- }
382
-
383
- android {
384
- compileSdkVersion 29
385
-
386
- compileOptions {
387
- sourceCompatibility(JavaVersion.VERSION_1_8)
388
- targetCompatibility(JavaVersion.VERSION_1_8)
389
- }
390
-
391
- defaultConfig {
392
- minSdkVersion(21)
393
- targetSdkVersion(28)
394
- versionCode(1)
395
- versionName("1.0")
396
-
397
- consumerProguardFiles("proguard-rules.pro")
398
-
399
- buildConfigField("boolean", "IS_INTERNAL_BUILD", "false")
400
- buildConfigField("int", "EXOPACKAGE_FLAGS", "0")
401
-
402
- resValue "integer", "react_native_dev_server_port", reactNativeDevServerPort()
403
- resValue "integer", "react_native_inspector_proxy_port", reactNativeInspectorProxyPort()
404
-
405
- testApplicationId("com.facebook.react.tests.gradle")
406
- testInstrumentationRunner("androidx.test.runner.AndroidJUnitRunner")
407
- }
408
-
409
- sourceSets.main {
410
- jni.srcDirs = []
411
- jniLibs.srcDir("$buildDir/react-ndk/exported")
412
- res.srcDirs = ["src/main/res/devsupport", "src/main/res/shell", "src/main/res/views/modal", "src/main/res/views/uimanager"]
413
- java {
414
- srcDirs = ["src/main/java", "src/main/libraries/soloader/java", "src/main/jni/first-party/fb/jni/java"]
415
- exclude("com/facebook/react/processing")
416
- exclude("com/facebook/react/module/processing")
417
- }
418
- }
419
-
420
- tasks.withType(JavaCompile) {
421
- compileTask ->
422
- compileTask.dependsOn(packageReactNdkLibs)
423
- }
424
-
425
- clean.dependsOn(cleanReactNdkLib)
426
-
427
- lintOptions {
428
- abortOnError(false)
429
- }
430
-
431
- packagingOptions {
432
- exclude("META-INF/NOTICE")
433
- exclude("META-INF/LICENSE")
434
- }
435
-
436
- configurations {
437
- extractHeaders
438
- extractJNI
439
- }
440
- }
441
-
442
- dependencies {
443
- api("com.facebook.infer.annotation:infer-annotation:0.11.2")
444
- api("com.facebook.yoga:proguard-annotations:1.14.1")
445
- api("javax.inject:javax.inject:1")
446
- api("androidx.appcompat:appcompat:1.0.2")
447
- api("androidx.swiperefreshlayout:swiperefreshlayout:1.0.0")
448
- api("com.facebook.fresco:fresco:${FRESCO_VERSION}")
449
- api("com.facebook.fresco:imagepipeline-okhttp3:${FRESCO_VERSION}")
450
- api("com.facebook.soloader:soloader:${SO_LOADER_VERSION}")
451
- api("com.google.code.findbugs:jsr305:3.0.2")
452
- api("com.squareup.okhttp3:okhttp:${OKHTTP_VERSION}")
453
- api("com.squareup.okhttp3:okhttp-urlconnection:${OKHTTP_VERSION}")
454
- api("com.squareup.okio:okio:1.17.5")
455
- api("com.facebook.fbjni:fbjni-java-only:0.0.3")
456
- extractHeaders("com.facebook.fbjni:fbjni:0.0.2:headers")
457
- extractJNI("com.facebook.fbjni:fbjni:0.0.2")
458
-
459
- testImplementation("junit:junit:${JUNIT_VERSION}")
460
- testImplementation("org.powermock:powermock-api-mockito2:${POWERMOCK_VERSION}")
461
- testImplementation("org.powermock:powermock-module-junit4-rule:${POWERMOCK_VERSION}")
462
- testImplementation("org.powermock:powermock-classloading-xstream:${POWERMOCK_VERSION}")
463
- testImplementation("org.mockito:mockito-core:${MOCKITO_CORE_VERSION}")
464
- testImplementation("org.easytesting:fest-assert-core:2.0M10")
465
- testImplementation("org.robolectric:robolectric:${ROBOLECTRIC_VERSION}")
466
-
467
- androidTestImplementation(fileTree(dir: "src/main/third-party/java/buck-android-support/", include: ["*.jar"]))
468
- androidTestImplementation("androidx.test:runner:${ANDROIDX_TEST_VERSION}")
469
- androidTestImplementation("androidx.test:rules:${ANDROIDX_TEST_VERSION}")
470
- androidTestImplementation("org.mockito:mockito-core:${MOCKITO_CORE_VERSION}")
471
- }
472
-
473
- apply(from: "release.gradle")
474
-
475
- react {
476
- jsRootDir = file("../Libraries")
477
- reactNativeRootDir = file("$projectDir/..")
478
- useJavaGenerator = System.getenv("USE_CODEGEN_JAVAPOET") ?: false
479
- }
@@ -1 +0,0 @@
1
- 3145111ccb5a72f141bce9886373ce9a
@@ -1 +0,0 @@
1
- 10a06658db6f853ab28766b42ba1ceadd4c543ff
@@ -1 +0,0 @@
1
- 4c3c0fb0abe239757b12505c61b3b535
@@ -1 +0,0 @@
1
- 9817339cb90d957d5370c58e1b5f4ec07495375e
@@ -1 +0,0 @@
1
- a9453e059a6ad0ca83118208199cb06a
@@ -1 +0,0 @@
1
- cb959926a94610529c3f5d53ca743a07f46a6332