LinusU / LinusU/react-native-webcrypto

Replace compile -> implementation on build.gradle

未关闭
#4 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Java
星标
23
派生
2
PR 合并指标
30 天内没有已合并 PR

描述

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch react-native-webcrypto@1.0.0-alpha.3 for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/react-native-webcrypto/android/build.gradle b/node_modules/react-native-webcrypto/android/build.gradle
index e19e09d..8dfd8b9 100644
--- a/node_modules/react-native-webcrypto/android/build.gradle
+++ b/node_modules/react-native-webcrypto/android/build.gradle
@@ -35,5 +35,5 @@ repositories {
 }
 
 dependencies {
-    compile 'com.facebook.react:react-native:+'
+    implementation 'com.facebook.react:react-native:+'
 }

This issue body was partially generated by patch-package.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

打开 android/build.gradle 并检查 dependencies 块,从 issue 中显示的 React Native 依赖项开始。按照指定内容更新依赖项配置,然后验证该声明与 Android 构建设置一致。

由索引模型根据 Issue 内容生成。

评估

技术栈
react-native
领域
build-system, mobile-dev
Issue 类型
重构
难度
1/5
预计耗时
1 小时以内
活跃度
停滞
描述清晰度
描述清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。