Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more

Android Pipeline

fluentci pipeline deno module deno compatibility

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

๐Ÿš€ Usage

Run the following command:

fluentci run android_pipeline

Or, if you want to use it as a template:

fluentci init -t android

This will create a .fluentci folder in your project.

Now you can run the pipeline with:

fluentci run .

Dagger Module

Use as a Dagger module:

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

Jobs

Job Description
lintDebug Lint your code
assembleDebug generate apk (debug)
debugTests Run your tests
assembleRelease generate apk (release)
bundleRelease generate aab (release)
lintDebug(
  src?: string | Directory
): Promise<string>

assembleDebug(
  src?: string | Directory
): Promise<File | string>

assembleRelease(
  src?: string | Directory
): Promise<File | string>

bundleRelease(
  src?: string | Directory
): Promise<File | string>

debugTests(
  src?: string | Directory
): Promise<string>

Programmatic usage

You can also use this pipeline programmatically:

import { lintDebug, assembleDebug, debugTests } from "https://pkg.fluentci.io/android_pipeline@v0.9.3/mod.ts";

await lintDebug();
await debugTests();
await assembleDebug();

๐Ÿ“š Example

See example for a working example.