`processing/java/gradle` Rework libraries import
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 30/100
- Tipo di issue
- Refactoring
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- java
- Ambito
- build-system
Direzione di ricerca
Inizia esaminando il PR correlato 1233 e il plugin in processing/java/gradle. Analizza la deprecazione della valutazione delle dipendenze di Gradle 9, il modo in cui i file .pde definiscono le dipendenze e il refactoring di settingsFolder/sketchbookFolder in app:utils. Il lavoro è completato quando le librerie possono essere importate senza richiedere processing.sketchfolder e il plugin rimane compatibile con le versioni supportate di Gradle.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Java
- Stelle
- 497
- Fork
- 183
- Merge medio
- 4h 39m
- PR unite (30g)
- 3
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di processing/processing4
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
processing/processing4#1554 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
processing/processing4#1515 · 1 reazione ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
processing/processing4#1573 ·
-
startup error Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
processing/processing4#1569 · 7 commenti ·
-
Binaries under bin directory lack executable permissions for the snap and .deb packages for Linux Apertabug
processing/processing4#1567 · 3 commenti · 1 reazione · 1 assegnatario ·
Tutte le issue di processing/processing4
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
-
Two open-case totals on one screen: the Programs tile says 15,858 and the nav badge says 15,868 Apertabug frontend maui-pilot
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
objectionary/eo-graphs#74 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100