A ready-to-use CI/CD Pipeline for your Gradle projects.
Run the following command:
fluentci run gradle_pipeline
Or, if you want to use it as a template:
fluentci init -t gradle
This will create a .fluentci
folder in your project.
Now you can run the pipeline with:
fluentci run .
Or simply:
fluentci
Use as a Dagger module:
dagger mod install github.com/fluent-ci-templates/gradle-pipeline@mod
Job | Description |
---|---|
check | Check the project |
test | Run the tests |
build | Build the project |
build(
src: Directory | string | undefined = "."
): Promise<Directory | string>
check(
src: Directory | string | undefined = "."
): Promise<string>
test(
src: Directory | string | undefined = "."
): Promise<string>
You can also use this pipeline programmatically:
import { check, test, build } from "jsr:@fluentci/gradle";
await check();
await test();
await build();