NativeScript / NativeScript/android
Decalre Gradle settings & wrapper settings
还没有人认领这个 Issue。
- 主要语言
- C++
- 星标
- 563
- 派生
- 144
- 平均合并
- 10 小时 46 分钟
- 30 天内合并 PR
- 14
描述
Is your feature request related to a problem? Please describe.
Good day I am trying to build sample android app (https://github.com/NativeScript/tutorials/tree/main/react-tutorial)
in linux ubuntu without internet but with nexus repo with all libs and distrous for npm\gradle
At that moment i can't understand how to change gradle settings and gradle wrapper setting without manual changing this config files in the catalog platform/android
files changed is
platforms/android/gradle.properties
platforms/android/build.gradle
platforms/android/gradle/wrapper/gradle-wrapper.properties
platforms/android/app/build.gradle
Describe the solution you'd like
If there posibility to declare all settngs for the files discrbed in previous section from catalog App_Resources/Android/ for example
Changes i have made it is setting maven repo, distributionurl for wrapper, and path to the jks keystore with password, because nexus repo have self signed certificate
Describe alternatives you've considered
I was looking info about hooks but did not find good example for my issue
Additional context
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先阅读 issue 中提到的 Android 配置文件:platforms/android/gradle.properties、build.gradle、gradle/wrapper/gradle-wrapper.properties 和 app/build.gradle,然后检查 App_Resources/Android/。确定如何在那里声明 Maven 仓库、wrapper distribution URL 和 keystore 值等设置;完成的标准是生成的 Android 项目无需手动编辑即可使用这些声明。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- android
- 领域
- build-system, mobile-dev
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100