Maven
Maven Repository
This is the main repository for css4j and other related artifacts.
Configuring this repository
Gradle
Add the repository to the repositories section of your build file (either
build.gradle or a conventions plugin):
repositories {
maven {
url = 'https://css4j.github.io/maven/'
mavenContent {
releasesOnly()
}
content {
includeGroupByRegex 'io\\.sf\\..*'
}
}
}
The content section makes sure that you will only use the css4j repository for the
css4j-related artifacts, which is important for security reasons.
Maven
Declare the repository in your pom.xml:
<repositories>
<repository>
<id>css4j</id>
<name>CSS4J repository</name>
<url>https://css4j.github.io/maven/</url>
</repository>
</repositories>