jaredsburrows / jaredsburrows/gradle-checker-framework-plugin

Not working well with generated source from another processor

Open
#4 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
Groovy
Stars
9
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Try to use this plugin in my android project where I also use [Glide image library](https://github.com/bumptech/glide).

Glide generates Java source (GlideApp) dynamically which is used in app, however plugin is unable to find that as source, if i don't use checker app complies normally

`
/Users/xxx/work/code/app/src/main/java/com/yyy/MainActivity.java:113: error: cannot find symbol
import com.yyy.GlideApp;
^
symbol: class GlideApp
location: package com.yyy
`

Am I missing something?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure in an Android project using the Gradle Checker Framework plugin and Glide, starting from the MainActivity.java import error for generated GlideApp. Trace how the plugin handles generated Java sources while checking, and verify that the project compiles with the checker enabled and GlideApp available.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, groovy, java
Domain
build-system, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.