Petition Gradle to support JVM-local configuration-cache
- Ngôn ngữ chính
- Java
- Star
- 5.6k
- Fork
- 559
- Merge trung bình
- 1 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 43
Mô tả
***Please thumbs-up this issue if you'd like Gradle to build this.*** TLDR: Unlike remote build cache, configuration cache is never going to be relocatable. Because of that, it might as well be a JVM-local cache (within-daemon), which removes the performance and incidental-complexity penalties of a serialization roundtrip. Spotless #986 hacks a workaround to demonstrate this approach, example API in [comment below](https://github.com/diffplug/spotless/issues/987#issuecomment-963664602). Gradle could support this natively so that configuration cache is faster to use and easier to develop plugins against.
**EDIT: full no-asterisk support for configuration cache is available in Spotless 7.0.0+**
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu với bình luận được liên kết và Spotless #986, trong đó mô tả configuration-cache API JVM-local được đề xuất và workaround. Issue không nêu tên file hoặc test nào, và phần hỗ trợ Gradle được yêu cầu nằm ngoài repository này; edit cho biết hỗ trợ đầy đủ cho no-asterisk đã có sẵn trong Spotless 7.0.0+.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java
- Lĩnh vực
- build-system
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 15/100