`processing/java/gradle` Rework libraries import
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 30/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- java
- Lĩnh vực
- build-system
Hướng nghiên cứu
Bắt đầu bằng việc xem xét PR liên quan 1233 và plugin trong processing/java/gradle. Điều tra việc ngừng hỗ trợ đánh giá dependency trong Gradle 9, cách các tệp .pde định nghĩa dependency và việc tái cấu trúc settingsFolder/sketchbookFolder trong app:utils. Được xem là hoàn tất khi các thư viện có thể được import mà không yêu cầu processing.sketchfolder và plugin vẫn tương thích với các phiên bản Gradle được hỗ trợ.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Related https://github.com/processing/processing4/pull/1233
The current Processing Gradle plugin imports Processing libraries successfully, but only if the processing.sketchfolder is defined and Gradle 8 is used.
The plugin will supposedly stop working with Gradle 9 as support for adding dependencies after evaluation has been deprecated. (Mutating a configuration after it has been resolved, consumed as a variant, or used for generating published metadata. This behavior has been deprecated.).
Furthermore, because the dependencies of the project are defined within the .pde files we get a catch 22, either we parse the .pde files on plugin evaluation (which is not where that is supposed to be happening and breaks only running on changes) or we move the dependency declaration out of the .pde files. Neither is ideal, so more research is needed.
As for the sketchbook, it would be ideal if the plugin could find the sketchbook location on its own, but that would require finishing the refactoring work of the settingsFolder path and the sketchbookFolder into app:utils as those variables are currently locked behind running the PDE in its entirety.
- Ngôn ngữ chính
- Java
- Star
- 497
- Fork
- 183
- Merge trung bình
- 4 giờ 39 phút
- Pull request đã merge (30 ngày)
- 3
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của processing/processing4
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
processing/processing4#1554 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
processing/processing4#1515 · 1 reaction ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
processing/processing4#1573 ·
-
startup error Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
processing/processing4#1569 · 7 bình luận ·
-
Binaries under bin directory lack executable permissions for the snap and .deb packages for Linux Đang mởbug
processing/processing4#1567 · 3 bình luận · 1 reaction · 1 người được giao ·
Tất cả issue của processing/processing4
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
-
Two open-case totals on one screen: the Programs tile says 15,858 and the nav badge says 15,868 Đang mởbug frontend maui-pilot
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
objectionary/eo-graphs#74 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100