Dagger
Search

android

This module provides a set of functions for building Android applications.

Installation

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

Entrypoint

Return Type
Android
Example
dagger -m github.com/fluent-ci-templates/android-pipeline@6bd375dee455d380f9cae862fe88c8d7a46ab124 call \
func (m *myModule) example() *Android  {
	return dag.
			Android()
}
@function
def example() -> dag.Android:
	return (
		dag.android()
	)
@func()
example(): Android {
	return dag
		.android()
}

Types

Android 🔗

lintDebug() 🔗

Run lintDebug

Return Type
String !
Arguments
NameTypeDefault ValueDescription
srcDirectory -No description provided
Example
dagger -m github.com/fluent-ci-templates/android-pipeline@6bd375dee455d380f9cae862fe88c8d7a46ab124 call \
 lint-debug
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			Android().
			LintDebug(ctx)
}
@function
async def example() -> str:
	return await (
		dag.android()
		.lint_debug()
	)
@func()
async example(): Promise<string> {
	return dag
		.android()
		.lintDebug()
}

assembleDebug() 🔗

Build debug apk

Return Type
File !
Arguments
NameTypeDefault ValueDescription
srcDirectory -No description provided
Example
dagger -m github.com/fluent-ci-templates/android-pipeline@6bd375dee455d380f9cae862fe88c8d7a46ab124 call \
 assemble-debug
func (m *myModule) example() *File  {
	return dag.
			Android().
			AssembleDebug()
}
@function
def example() -> dagger.File:
	return (
		dag.android()
		.assemble_debug()
	)
@func()
example(): File {
	return dag
		.android()
		.assembleDebug()
}

assembleRelease() 🔗

Build release apk

Return Type
File !
Arguments
NameTypeDefault ValueDescription
srcDirectory -No description provided
signedBoolean falseNo description provided
Example
dagger -m github.com/fluent-ci-templates/android-pipeline@6bd375dee455d380f9cae862fe88c8d7a46ab124 call \
 assemble-release
func (m *myModule) example() *File  {
	return dag.
			Android().
			AssembleRelease()
}
@function
def example() -> dagger.File:
	return (
		dag.android()
		.assemble_release()
	)
@func()
example(): File {
	return dag
		.android()
		.assembleRelease()
}

bundleRelease() 🔗

Build release aab

Return Type
File !
Arguments
NameTypeDefault ValueDescription
srcDirectory -No description provided
Example
dagger -m github.com/fluent-ci-templates/android-pipeline@6bd375dee455d380f9cae862fe88c8d7a46ab124 call \
 bundle-release
func (m *myModule) example() *File  {
	return dag.
			Android().
			BundleRelease()
}
@function
def example() -> dagger.File:
	return (
		dag.android()
		.bundle_release()
	)
@func()
example(): File {
	return dag
		.android()
		.bundleRelease()
}

debugTests() 🔗

Run debug tests

Return Type
String !
Arguments
NameTypeDefault ValueDescription
srcDirectory -No description provided
Example
dagger -m github.com/fluent-ci-templates/android-pipeline@6bd375dee455d380f9cae862fe88c8d7a46ab124 call \
 debug-tests
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			Android().
			DebugTests(ctx)
}
@function
async def example() -> str:
	return await (
		dag.android()
		.debug_tests()
	)
@func()
async example(): Promise<string> {
	return dag
		.android()
		.debugTests()
}