NativeScript / NativeScript/android

Decalre Gradle settings & wrapper settings

オープン
#1,746 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
C++
スター
563
フォーク
144
平均マージ
10時間 46分
マージ済み PR(30日)
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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. 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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。