Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Decalre Gradle settings & wrapper settings

未關閉
#1,746 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
35/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
android

研究方向

先閱讀 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 內容生成。

描述

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

主要語言
C++
星號
563
分支
144
平均合併
10 小時 46 分鐘
30 天內合併 PR
14

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

NativeScript/android 的其他 Issue

查看 NativeScript/android 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。