Marking direkter Abhängigkeit als Laufzeit und Ausschluss transitiver Abhängigkeiten in der Test

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Marking direkter Abhängigkeit als Laufzeit und Ausschluss transitiver Abhängigkeiten in der Test

by Anonymous » 14 Apr 2025, 21:24

(avro % Runtime).excludeAll(
ExclusionRule(organization = "com.fasterxml.jackson.core"),
ExclusionRule(organization = "org.apache.commons"),
ExclusionRule(organization = "org.slf4j"),
),
(avro % Test).excludeAll(
ExclusionRule(organization = "com.fasterxml.jackson.core"),
ExclusionRule(organization = "org.apache.commons"),
ExclusionRule(organization = "org.slf4j"),
),
< /code>
Dies schließt Abhängigkeiten von der Testaufgabe nicht aus, und ich bin mir nicht sicher, ob dies überhaupt möglich ist. Abgesehen von der Tatsache, dass dies ein Problem zwischen meiner Laufzeit und meiner Projektdispositionen hervorhebt, scheint es, als sollte ich diesen Ausschluss aus "Test" durchführen können. Mit SBT 1.10.10
hatte ich gehofft, dass die ausgeschlossenen Abhängigkeiten auch in der Aufgabe "Test" ausgeschlossen werden.

Top