processing / processing/processing4

`processing/java/gradle` Rework libraries import

オープン
#1,412 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Java
スター
494
フォーク
183
平均マージ
4時間 39分
マージ済み PR(30日)
3

説明

Related https://github.com/processing/processing4/pull/1233

The current Processing Gradle plugin imports Processing libraries successfully, but only if the processing.sketchfolder is defined and Gradle 8 is used.

The plugin will supposedly stop working with Gradle 9 as support for adding dependencies after evaluation has been deprecated. (Mutating a configuration after it has been resolved, consumed as a variant, or used for generating published metadata. This behavior has been deprecated.).
Furthermore, because the dependencies of the project are defined within the .pde files we get a catch 22, either we parse the .pde files on plugin evaluation (which is not where that is supposed to be happening and breaks only running on changes) or we move the dependency declaration out of the .pde files. Neither is ideal, so more research is needed.

As for the sketchbook, it would be ideal if the plugin could find the sketchbook location on its own, but that would require finishing the refactoring work of the settingsFolder path and the sketchbookFolder into app:utils as those variables are currently locked behind running the PDE in its entirety.

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

関連する PR 1233 と processing/java/gradle のプラグインを確認することから始めてください。Gradle 9 の依存関係評価の非推奨化、.pde ファイルで依存関係を定義する方法、app:utils における settingsFolder/sketchbookFolder のリファクタリングを調査してください。processing.sketchfolder を必要とせずにライブラリをインポートでき、プラグインがサポート対象の Gradle バージョンとの互換性を維持していれば完了です。

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

評価

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

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

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