Skip to content

Utilities required by the Carte project, and also css4j

License

Notifications You must be signed in to change notification settings

css4j/carte-util

Repository files navigation

carte-util

Utilities required by the Carte project, and also css4j.


Building from source

Requirements

To build this project, you need the following software installed:

  • The Git version control system is required to obtain the sources. Any recent version should suffice.

  • Java 11 or later. You can install it from your favourite package manager or by downloading from Adoptium.


Building with Gradle

At the carte-util sources directory, run gradlew build to build. For example:

git clone https://github.com/css4j/carte-util.git
cd carte-util
./gradlew build

Deploying to a Maven repository

Use:

  • ./gradlew build publishToMavenLocal to install in your local Maven repository.
  • ./gradlew publish to deploy to a (generally remote) Maven repository.

Before deploying to a remote Maven repository, please read the publishing.repositories.maven block of build.gradle to learn which properties you need to set (like mavenReleaseRepoUrlor mavenRepoUsername), either at the command line (-P option) or your GRADLE_USER_HOME/gradle.properties file.