gem Gradle task cannot process dependent ArrayList
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
- 38/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- java
- Lĩnh vực
- build-system
Hướng nghiên cứu
Start with line 100 of the Gradle build script and run the gem task to reproduce the dependent-task error. Compare the reported array form with the working individual-dependency form, then verify that the gem task completes successfully without the getAt(ArrayList) failure.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
When trying to build the gem, Gradle complains about having an array of dependent tasks:
> Could not create task ':gem'.
> No signature of method: org.gradle.api.internal.tasks.DefaultTaskDependency$TaskDependencySet.getAt() is applicable for argument types: (ArrayList) values: [[task ':downloadAndInstallJRuby', task ':removeObsoleteJars', ...]]
Possible solutions: getAt(java.lang.String), getAt(java.lang.String), getAt(int), head(), putAt(java.lang.String, java.lang.Object), wait()
The offending line, line 100:
dependsOn [downloadAndInstallJRuby, removeObsoleteJars, vendor, generateRubySupportFiles]
It works if I remove the "[" "]" brackets, or break it into 4 individual lines.
- Ngôn ngữ chính
- Java
- Star
- 8
- Fork
- 16
- 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 logstash-plugins/logstash-output-java_output_example
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 20/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 42/100
logstash-plugins/logstash-output-java_output_example#11 · 2 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
-
Fail to create gem using WindowsĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 28/100
logstash-plugins/logstash-output-java_output_example#5 · 1 bình luận ·
Tất cả issue của logstash-plugins/logstash-output-java_output_example
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
netshot-net/Netshot#413 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
scylladb/scylla-cdc-source-connector#350 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agent:working documentation enhancement go:build lane:needs-decision
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Sanne/incus-spawn#1435 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:shuffle bug priority:high requires-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
apache/datafusion-comet#7062 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
help wanted testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
antonyrag/ragleap-core#786 ·
Maintainer thường phản hồi trong vòng 1 ngày