suggested improvements to `com.diffplug.eclipse.apt`
- Lingua principale
- Java
- Stelle
- 137
- Fork
- 33
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
The `com.diffplug.eclipse.apt` plugin is just copy-pasted with a few minor fixes from the https://github.com/tbroyer/gradle-apt-plugin, which is no longer maintained. It is no longer maintained because Gradle incorporated native support for annotation processing, so the plugin became extraneous. The one exception is gradle+eclipse, where annotation processing still requires this plugin.
Per advice from the original author, it would be good to remove the plugin DSL and extract annotation processor arguments from [getAllCompilerArgs](https://docs.gradle.org/current/javadoc/org/gradle/api/tasks/compile/CompileOptions.html#getAllCompilerArgs--) instead; and remove the AptSourceSetConvention, remove/inline AptPlugin52, and remove the AptPlugin altogether.
When/if `eclipse.apt` generates problems or deprecation warnings in a future release, I'll consider taking this on if it's the easiest way to fix them. So long as the current code works perfectly, it will not make the top of my todo list. If it makes the top of anyone else's todo list, I'll be happy to merge these improvements :)
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia esaminando l'implementazione di com.diffplug.eclipse.apt, in particolare AptSourceSetConvention, AptPlugin52, AptPlugin e la DSL del plugin relativa a getAllCompilerArgs. Il risultato previsto è estrarre gli argomenti del processore di annotazioni dalle opzioni del compilatore di Gradle, rimuovere i componenti obsoleti e preservare l'elaborazione delle annotazioni per le build di Eclipse.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- build-system, tooling
- Tipo di issue
- Refactoring
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100