Add support for Gradle Apt Plugin
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- java
- Lĩnh vực
- build-system, documentation
Hướng nghiên cứu
Bắt đầu với giải pháp xử lý annotation Gradle đã được ghi trong tài liệu và so sánh giải pháp đó với cấu hình Gradle Apt Plugin được nêu trong issue. Ghi lại cách cấu hình việc tạo mã Vert.x bằng plugin và khả năng tương thích mã nguồn Java 8 để xử lý các cảnh báo processor đã được báo cáo; công việc được xem là hoàn tất khi tài liệu liên quan có một cấu hình tương đương hoạt động được.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I already have another package that uses annotation processing (immutables), and it doesn't play nicely with the documented Gradle solution for adding annotation processing.
immutables plugs in directly to the Gradle Apt Plugin (https://github.com/tbroyer/gradle-apt-plugin)
It would be nice if the CodeGen worked similarly for vertx.. I have it working with Warnings only via:
dependencies {
compileOnly "org.immutables:value:2.4.4:annotations"
apt group: 'org.immutables', name: 'value', version: '2.4.4'
compileOnly group: 'io.vertx', name: 'vertx-codegen', version: vertxVersion
apt group: 'io.vertx', name: 'vertx-codegen', version: vertxVersion
apt group: 'io.vertx', name: 'vertx-docgen', version: vertxVersion
apt group: 'io.vertx', name:'vertx-service-proxy', version:vertxVersion, classifier: 'processor'
}
This generates both sets of classes but my gradle output is littered with warnings:
warning: No SupportedSourceVersion annotation found on io.vertx.serviceproxy.ServiceProxyProcessor, returning RELEASE_6.
warning: Supported source version 'RELEASE_6' from annotation processor 'io.vertx.serviceproxy.ServiceProxyProcessor' less than -source '1.8'
I have java code and source compatibility set to 1.8 but can't figure out how to feed this in to avoid the warning. Hopefully this is just a documentation issue, would be helpful to add this as an option to the documentation for anyone else using the apt plugin.
- Ngôn ngữ chính
- Java
- Star
- 111
- Fork
- 88
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc 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 eclipse-vertx/vertx-codegen
-
Protobuf enum supportĐang mởenhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
eclipse-vertx/vertx-codegen#361 ·
-
help wanted
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
eclipse-vertx/vertx-codegen#340 · 11 bình luận · 2 reaction ·
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
eclipse-vertx/vertx-codegen#335 ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
eclipse-vertx/vertx-codegen#320 · 4 bình luận ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
eclipse-vertx/vertx-codegen#319 · 1 bình luận · 1 reaction ·
Tất cả issue của eclipse-vertx/vertx-codegen
Issue tương tự
-
status: waiting-for-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
spring-projects/spring-ai#7206 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
area/cli
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 78/100
quarkusio/quarkus#57623 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
jhipster/prettier-java#1113 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug follow-up lane:backlog
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Sanne/incus-spawn#1576 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Pasting code into a comment adds imports for the pasted codeCó thể đã có người làm @ravnskjaer đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
eclipse-jdt/eclipse.jdt.ui#3275 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày