diffplug / diffplug/spotless

Support using Gradle projects as the dependency inputs

Offen
#1,901 9 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Java
Sterne
5.6k
Forks
559
Ø Merge
1 T. 14 Std.
Gemergte PRs (30 T.)
43

Beschreibung

I'd finished Ktlint custom rule sets support in #1896, but it supports Maven coordinates only due to the limits of

https://github.com/diffplug/spotless/blob/0189f717ee13acdb00745bffa86c6ed4ede53ef2/lib/src/main/java/com/diffplug/spotless/JarState.java#L56-L59

We can extend this for Gradle local projects to be used as the inputs, not sure if this way works for Maven projects as well.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Read lib/src/main/java/com/diffplug/spotless/JarState.java at lines 56-59 and review the Ktlint custom rule set work in #1896. Trace how Maven coordinates currently become dependency inputs, then determine how a Gradle local project can provide the same input. Done means Gradle projects are accepted as inputs while the existing Maven-coordinate path remains usable.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java
Bereich
build-system
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
48/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.