scalacenter / scalacenter/bloop

[Question] Does bloop support annotation processing for a pure Gradle Java project?

Open
#2,007 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug java
Dominant language
Scala
Stars
943
Forks
214
Avg merge
1d 20h
Merged PRs (30d)
19

Description

Hi team 👋,

I was recently aware of this build server and was playing around with it.

I tested it toward this project: https://github.com/mapstruct/mapstruct-examples/tree/main/mapstruct-on-gradle.

It's a Gradle project with pure Java codes.

The Bloop server works quite well, but it seems that the server won't include the generated folder build/generated/sources/annotationProcessor when dealing with the build target sources request. Is there anything I missed?

Thanks.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked mapstruct-on-gradle example and inspect how Bloop handles the build target sources request for this pure Java Gradle project. Verify whether build/generated/sources/annotationProcessor is expected to be included, and document or reproduce the result so annotation-processor sources are handled consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.