Investigate ways to reduce JAR size
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
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- kotlin
- Lĩnh vực
- build-system
Hướng nghiên cứu
Start by locating how the project assembles and packages its plugin JAR, then inspect the source set layout and compare class files across versions to measure duplication. Evaluate whether matching source set layout or a post hoc shared directory structure can deduplicate identical files; the issue states a preference for file deduplication. Done means demonstrating a workable approach that reduces JAR size.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Classes are duplicated across versions. Further, classes that are legitimately different might still largely share the same contents
We should find a way to reduce JAR size
Options:
- deduplicate individual files
- Perhaps by matching source set layout?
- Or by post-hoc figuring out the optimal shared directory structure
- This won't compress the similar-but-not-exactly-equal files though.
- Ship plugin using a different archive format
- We'd have to ship a reader for such format inside the developer's gradle support plugin
- Not very interoperable
- Use a JAR, but compress plugin code in a different format inside
- Entry point will need an additional step to decompress the files (and we'll need to ship such a decompressor)
- A bit unusual and opaque
My preference is "deduplicate individual files"
- Ngôn ngữ chính
- Kotlin
- Star
- 34
- Fork
- 1
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 Kotlin/compiler-plugin-dev-kit
-
compatibility
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Kotlin/compiler-plugin-dev-kit#133 · 1 bình luận ·
-
compatibility
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Applying `gradle-plugin` without `functional-test-publishing` on classpath causes Gradle errorsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Kotlin/compiler-plugin-dev-kit#115 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Tất cả issue của Kotlin/compiler-plugin-dev-kit
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
code-scan
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
ankidroid/Anki-Android#23806 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
(java): a lost connection fails a command with ClosingException instead of ConnectionExceptionĐang mởbug 🐞 Untriaged user issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
valkey-io/valkey-glide#7896 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Remove Collect againĐang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 86/100
thisisartman/Meguri#211 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
follow-up
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày