Skip to content

Commit 995ecfc

Browse files
committed
Gradle: exclude xml-apis-ext dependency, add sac 1.3
1 parent 4f7e484 commit 995ecfc

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

build.gradle

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,15 @@ dependencies {
3737
implementation(group: 'io.sf.carte', name: 'css4j', version: '4.4', classifier: 'tests')
3838
implementation 'io.sf.carte:css4j-dom4j:4.2'
3939
implementation 'io.sf.carte:echosvg-transcoder:1.2.2'
40-
implementation 'org.apache.xmlgraphics:batik-transcoder:1.17'
41-
implementation 'org.apache.xmlgraphics:batik-codec:1.17'
40+
implementation ('org.apache.xmlgraphics:batik-transcoder:1.17') {
41+
// Use packages from web-apis instead
42+
exclude group: 'xml-apis', module: 'xml-apis-ext'
43+
}
44+
implementation ('org.apache.xmlgraphics:batik-codec:1.17') {
45+
// Use packages from web-apis instead
46+
exclude group: 'xml-apis', module: 'xml-apis-ext'
47+
}
48+
implementation 'org.w3c.css:sac:1.3' // Required by Batik
4249
implementation 'nu.validator:htmlparser:1.4.16'
4350
implementation 'org.jsoup:jsoup:1.17.1'
4451
}

0 commit comments

Comments
 (0)