Skip to content

Commit

Permalink
Migrate from Apache Xalan to EchoXSL (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosame committed Jun 19, 2022
1 parent df4fef0 commit 7ae2ac1
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 12 deletions.
1 change: 1 addition & 0 deletions buildSrc/src/main/groovy/echosvg.java-conventions.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ repositories {
releasesOnly()
}
content {
includeGroup "com.github.css4j"
includeGroup "io.sf.carte"
includeGroup "io.sf.jclf"
}
Expand Down
1 change: 0 additions & 1 deletion echosvg-all/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ dependencies {

extraJavaModuleInfo {
failOnMissingModuleInfo.set(false)
automaticModule('xalan:xalan', 'xalan')
automaticModule('org.apache.xmlgraphics:xmlgraphics-commons', 'xmlgraphics.commons')
}

Expand Down
4 changes: 0 additions & 4 deletions echosvg-bridge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,12 @@ dependencies {
api project(':echosvg-gvt')
api project(':echosvg-script')
api project(':echosvg-svg-dom')
api ("xalan:xalan:${xalanVersion}") {
exclude group: 'xml-apis', module: 'xml-apis'
}
implementation "xml-apis:xml-apis:$xmlApisVersion"
api "org.apache.xmlgraphics:xmlgraphics-commons:${xmlgraphicsCommonsVersion}"
}

extraJavaModuleInfo {
failOnMissingModuleInfo.set(false)
automaticModule('xalan:xalan', 'xalan')
automaticModule('org.apache.xmlgraphics:xmlgraphics-commons', 'xmlgraphics.commons')
}

Expand Down
1 change: 0 additions & 1 deletion echosvg-bridge/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
requires transitive io.sf.carte.echosvg.parser;
requires io.sf.carte.echosvg.constants;
requires io.sf.carte.echosvg.i18n;
requires xalan;
requires xmlgraphics.commons;

provides io.sf.carte.echosvg.script.InterpreterFactory
Expand Down
5 changes: 1 addition & 4 deletions echosvg-dom/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ dependencies {
api project(':echosvg-css')
api project(':echosvg-ext')
api project(':echosvg-xml')
api ("xalan:xalan:${xalanVersion}") {
exclude group: 'xml-apis', module: 'xml-apis'
}
api "com.github.css4j:echoxsl:${echoXslVersion}"
implementation "xml-apis:xml-apis:$xmlApisVersion"
api "io.sf.carte:xml-dtd:${xmlDtdVersion}"
api "org.apache.xmlgraphics:xmlgraphics-commons:${xmlgraphicsCommonsVersion}"
Expand All @@ -18,7 +16,6 @@ dependencies {
extraJavaModuleInfo {
failOnMissingModuleInfo.set(false)
automaticModule('org.apache.xmlgraphics:xmlgraphics-commons', 'xmlgraphics.commons')
automaticModule('xalan:xalan', 'xalan')
}

description = 'io.sf.carte:echosvg-dom'
Expand Down
2 changes: 1 addition & 1 deletion echosvg-dom/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
requires transitive java.xml;
requires transitive jdk.xml.dom;
requires io.sf.carte.xml.dtd;
requires xalan;
requires com.github.css4j.echoxsl;

uses org.xml.sax.XMLReader;
uses io.sf.carte.echosvg.dom.DomExtension;
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ css4jVersion=3.7.2
xmlDtdVersion=4.0.0
rhinoVersion=1.7.14
svgomVersion=1.0.1
xalanVersion=2.7.2
echoXslVersion=2.7.2
xmlApisVersion=1.4.01
xmlgraphicsCommonsVersion=2.6
junitVersion=4.13.2
Expand Down

0 comments on commit 7ae2ac1

Please sign in to comment.