/tokenproducer

A small event parser.

Primary LanguageJavaBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

TokenProducer-uParser

A small event parser.

It is at the core of the css4j NSAC parser.


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 tokenproducer sources directory, run gradlew build to build. For example:

git clone https://github.com/css4j/tokenproducer.git
cd tokenproducer
./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 carte.java-conventions.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.

Fuzzing

Use ./gradlew fuzzer to run a Jazzer-based fuzzer.