Tooling Usage

Elide embeds many tools in one binary, and provides two calling styles for you to choose from. This doc describes how you can use Elide's built-in tools.


console
> javac -d target ...

console
> elide javac -- -d target ...

Drop-in Use

Use the drop-in calling style for identical behavior with your current tools. Prefix supported commands with elide, and then separate args with --.


pkl
amends "elide:project.pkl"

name = "my-elide-project"
version = "1.0.0"

dependencies {
  maven {
    packages {
      "io.ktor:cool-ktor-plugin"
    }
  }
}

Elide Projects

Use Elide Projects for new software, or to access a nicer build dialect. Define your project in an elide.pkl manifest to configure dependencies, source sets, artifacts, and toolchain settings.

Note

Every elide.pkl file must start with amends "elide:project.pkl". Without this line, Pkl cannot resolve the project schema and the manifest will fail to load.