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.
(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 [url=viewtopic.php?t=20324]Problem[/url] 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.