diffplug / diffplug/spotless

Petition Gradle to support JVM-local configuration-cache

オープン
#987 コメント 14 件 リアクション 169 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Java
スター
5.6k
フォーク
559
平均マージ
1日 14時間
マージ済み PR(30日)
43

説明

***Please thumbs-up this issue if you'd like Gradle to build this.*** TLDR: Unlike remote build cache, configuration cache is never going to be relocatable. Because of that, it might as well be a JVM-local cache (within-daemon), which removes the performance and incidental-complexity penalties of a serialization roundtrip. Spotless #986 hacks a workaround to demonstrate this approach, example API in [comment below](https://github.com/diffplug/spotless/issues/987#issuecomment-963664602). Gradle could support this natively so that configuration cache is faster to use and easier to develop plugins against.

**EDIT: full no-asterisk support for configuration cache is available in Spotless 7.0.0+**

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

リンクされたコメントと Spotless #986 から始めてください。そこでは、提案されている JVM-local configuration-cache API と workaround が説明されています。issue ではファイルもテストも指定されておらず、要求されている Gradle サポートはこのリポジトリの範囲外です。edit では、完全な no-asterisk サポートが Spotless 7.0.0+ ですでに利用可能であると述べられています。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
build-system
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
15/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。