Skip to content
carlosame edited this page Aug 11, 2023 · 5 revisions

If your Gradle project depends on EchoSVG, 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 {
            includeGroup 'com.github.css4j'
            includeGroup 'io.sf.carte'
            includeGroup 'io.sf.jclf'
        }
    }
}

please use that repository only for the artifact groups that it supplies (basically those listed in the above includeGroup statements).

Then, in your build.gradle file you can list the dependencies, for example:

dependencies {
    implementation "io.sf.carte:echosvg-transcoder:${echosvgVersion}"
}

or, if you want all of the main modules:

dependencies {
    implementation "io.sf.carte:echosvg-all:${echosvgVersion}"
}

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

Clone this wiki locally