Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Decalre Gradle settings & wrapper settings

Đang mở
#1,746 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
android
Lĩnh vực
build-system, mobile-dev

Hướng nghiên cứu

Bắt đầu bằng cách đọc các tệp cấu hình Android được nêu trong issue: platforms/android/gradle.properties, build.gradle, gradle/wrapper/gradle-wrapper.properties và app/build.gradle, sau đó kiểm tra App_Resources/Android/. Xác định cách các thiết lập như các Maven repository, URL phân phối của wrapper và các giá trị keystore có thể được khai báo tại đó; được xem là hoàn tất khi các dự án Android được tạo sử dụng những khai báo đó mà không cần chỉnh sửa thủ công.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
C++
Star
563
Fork
144
Merge trung bình
10 giờ 46 phút
Pull request đã merge (30 ngày)
14

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của NativeScript/android

Tất cả issue của NativeScript/android

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.