Skip to content

A ready-to-use CI/CD Pipeline and jobs for Gradle projects.

License

Notifications You must be signed in to change notification settings

fluent-ci-templates/gradle-pipeline

Repository files navigation

Gradle Pipeline

fluentci pipeline deno module deno compatibility dagger-min-version codecov

A ready-to-use CI/CD Pipeline for your Gradle projects.

🚀 Usage

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

🧩 Dagger Module

Use as a Dagger module:

dagger mod install github.com/fluent-ci-templates/gradle-pipeline@mod

✨ Jobs

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>

👨‍💻 Programmatic usage

You can also use this pipeline programmatically:

import { check, test, build } from "jsr:@fluentci/gradle";

await check();
await test();
await build();