css4j / css4j-dom4j

Module that brings CSS functionality to dom4j
https://css4j.github.io/
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link
css dom4j

css4j - dom4j module

Subclasses several dom4j classes and provides CSS functionality to it.

License is BSD 3-clause.

See the latest Release Notes.

Java™ Runtime Environment requirements

All the classes in the binary package have been compiled with a Java compiler set to 1.8 compiler compliance level, except the module-info.java file.

Building the library requires JDK 11 or higher.


Build from source

To build css4j-dom4j from the code that is currently at the Git repository, Java 11 or later is needed, although the resulting jar files can be run with a 1.8 JRE.

You can run a variety of Gradle tasks with the Gradle wrapper (on Windows shells you can omit the ./):


Usage from a Gradle project

If your Gradle project depends on css4j-dom4j, you can use this project's own Maven repository in a repositories section of your build file:

repositories {
    maven {
        url "https://css4j.github.io/maven/"
        mavenContent {
            releasesOnly()
        }
        content {
            includeGroupByRegex 'io\\.sf\\..*'

            // Alternative to the regex:
            //includeGroup 'io.sf.carte'
            //includeGroup 'io.sf.jclf'
            //includeGroup 'io.sf.w3'

            includeGroup 'xmlpull'
            includeGroup 'xpp3'
        }
    }
}

please use this repository only for the artifact groups listed in the includeGroup statements.

Then, in your build.gradle file:

dependencies {
    api "io.sf.carte:css4j-dom4j:${css4jDom4jVersion}"
}

where css4jDom4jVersion would be defined in a gradle.properties file.


Software dependencies

In case that you do not use a Gradle or Maven build (which would manage the dependencies according to the relevant .module or .pom files), the required and optional library packages are the following:

Compile-time dependencies

Test dependencies


Website

For more information please visit https://css4j.github.io/