- Interested in Kotlin? Try KtXml and provide feedback!
- Now the content of
org.xmlpull.v1.XmlPullParserFactory
is split across multiple linesorg.kxml2.io.KXmlParser
&org.kxml2.io.KXmlSerializer
instead of comma separatedorg.kxml2.io.KXmlParser,org.kxml2.io.KXmlSerializer
which bombs in Java 9+. This fix will ensure java 9 module system will atleast no complain. Even with this fix, implementation ofXmlPullParserFactory
inxmlpull
is still nothing but abuse ofServiceLoader
implementation. But atleast it does not bomb right now - Library can be added as a dependency using
repositories {
mavenCentral()
maven {
url "https://jitpack.io" // maven repo where the current library resides
}
maven {
url "https://dl.bintray.com/unverbraucht/java9-fixed-jars" // repo for fetching `xmlpull` dependency that's java 9 enabled
}
}
dependencies {
implementation("com.github.kobjects:kxml2:<version>")
}