multi configuration same language
- Lingua principale
- Java
- Stelle
- 5.6k
- Fork
- 559
- Merge medio
- 1g 14h
- PR unite (30g)
- 43
Descrizione
So, due to an incompatibility down the stack with java 21 (at the time of this writing) I'm trying to have `cleanThat` skip a specific file. I'm not certain based on their docs if I can skip a specific file with this. Anyways, I tried this, hoping it might work (also tried adding a target)
```kts
java {
licenseHeader(copyright + javaLicense)
}
java {
targetExclude("**/TransactionBeanPostProcessorTest.java")
cleanthat().addMutators(listOf("SafeAndConsensual", "SafeButNotConsensual"))
}
```
yeah, that doesn't work, but could it? my hope was taking 2 passes, license header over everything, but clean that over most things. As it appears I'll have to choose to skip this one file entirely or remove clean that entirely (I doubt it finds problems for me anyways).
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia con la configurazione Gradle Kotlin mostrata nell’issue, concentrandoti sui due blocchi java, targetExclude e cleanthat(). Determina se è possibile combinare più configurazioni per la stessa lingua applicando ampiamente l’intestazione di licenza e Cleanthat in modo selettivo. Il lavoro è completato quando la configurazione supporta questi ambiti separati oppure documenta chiaramente la limitazione e il modo supportato per escludere il file indicato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java, kotlin
- Ambito
- build-system, tooling
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100