question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support Gradle Incremental Annotation Processing

See original GitHub issue

It would be nice if crumb would support incremental annotation processing released in Gradle 4.7. Given that crumb uses resources, it doesn’t look like that’s going to work. See https://docs.gradle.org/4.7/userguide/java_plugin.html#sec:incremental_annotation_processing

A similar project I work on solves a similar problem (with a million times less flexibility). The library TLDR is this:

I think an approach similar to this would allow the crumb annotation processors to be incremental.

This would essentially change the implementation details within crumb to use classes (again, that can be proguarded out) instead of resources.

I’d be willing to help/do the work for this if it’s a direction that the library maintainers deem appropriate.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
ZacSweerscommented, Mar 26, 2019

Nice. I can take a look at this sooooon-ish

On Mon, Mar 25, 2019 at 6:40 AM Jay Newstrom notifications@github.com wrote:

Looks like this support just got merged in! gradle/gradle#8797 https://github.com/gradle/gradle/pull/8797

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/uber/crumb/issues/33#issuecomment-476201231, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTEvkPJnCdoptI8t3PZJ4xv7Y23GSqZks5vaNG8gaJpZM4T7pk2 .

1reaction
ZacSweerscommented, May 11, 2018

Yep that’s the one! Let’s touch base again once that’s available

Read more comments on GitHub >

github_iconTop Results From Across the Web

What's new in Gradle 5.0
The incremental compiler in Gradle 5.0 supports incremental annotation processing, significantly increasing the effectiveness of incremental compilation ...
Read more >
Support Gradle incremental annotation processing [112110217]
[WARN] Incremental annotation processing requested, but support is disabled because the following processors are not incremental: androidx.room.RoomProcessor ( ...
Read more >
How to make my own annotation processor incremental?
To make your annotation processor incremental you must declare it in META-INF in incremental.annotation.processors file:
Read more >
Support Gradle Incremental Processing · Issue #804 - GitHub
Gradle 4.7+ has a new feature to let annotation processors run incrementally. In order to make that work, Immutables has to tell Gradle...
Read more >
Incremental processing | Kotlin
Incremental processing is a processing technique that avoids re-processing of sources as much as possible. The primary goal of incremental ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found