android
A generated module for Android functions
Installation
dagger install github.com/digiogithub/dagger-deploy-tools/android@75945289511d27cd4d307bb365437a94331088d3
Entrypoint
Return Type
Android
Example
dagger -m github.com/digiogithub/dagger-deploy-tools/android@75945289511d27cd4d307bb365437a94331088d3 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 🔗
container() 🔗
Returns a container for Android build with the provided source directory
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | Source directory of the Android Project |
Example
dagger -m github.com/digiogithub/dagger-deploy-tools/android@75945289511d27cd4d307bb365437a94331088d3 call \
container --src DIR_PATH
func (m *myModule) example(src *Directory) *Container {
return dag.
Android().
Container(src)
}
@function
def example(src: dagger.Directory) -> dagger.Container:
return (
dag.android()
.container(src)
)
@func()
example(src: Directory): Container {
return dag
.android()
.container(src)
}
gradle() 🔗
Returns the compilation file before the build process
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | Source directory of the Android Project |
command | String ! | - | Command to run |
exportDirectory | String ! | - | Export directory of the build |
Example
dagger -m github.com/digiogithub/dagger-deploy-tools/android@75945289511d27cd4d307bb365437a94331088d3 call \
gradle --src DIR_PATH --command string --export-directory string
func (m *myModule) example(src *Directory, command string, exportDirectory string) *Directory {
return dag.
Android().
Gradle(src, command, exportDirectory)
}
@function
def example(src: dagger.Directory, command: str, export_directory: str) -> dagger.Directory:
return (
dag.android()
.gradle(src, command, export_directory)
)
@func()
example(src: Directory, command: string, exportDirectory: string): Directory {
return dag
.android()
.gradle(src, command, exportDirectory)
}
ionic() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | No description provided |
Example
dagger -m github.com/digiogithub/dagger-deploy-tools/android@75945289511d27cd4d307bb365437a94331088d3 call \
ionic --src DIR_PATH
func (m *myModule) example(src *Directory) *Container {
return dag.
Android().
Ionic(src)
}
@function
def example(src: dagger.Directory) -> dagger.Container:
return (
dag.android()
.ionic(src)
)
@func()
example(src: Directory): Container {
return dag
.android()
.ionic(src)
}
ionicXcTask() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | No description provided |
xcBuildTask | String ! | - | No description provided |
Example
dagger -m github.com/digiogithub/dagger-deploy-tools/android@75945289511d27cd4d307bb365437a94331088d3 call \
ionic-xc-task --src DIR_PATH --xc-build-task string
func (m *myModule) example(src *Directory, xcBuildTask string) *Container {
return dag.
Android().
IonicXcTask(src, xcBuildTask)
}
@function
def example(src: dagger.Directory, xc_build_task: str) -> dagger.Container:
return (
dag.android()
.ionic_xc_task(src, xc_build_task)
)
@func()
example(src: Directory, xcBuildTask: string): Container {
return dag
.android()
.ionicXcTask(src, xcBuildTask)
}
ionicXcTaskWithPass() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | No description provided |
xcBuildTask | String ! | - | No description provided |
pass | Secret ! | - | No description provided |
Example
dagger -m github.com/digiogithub/dagger-deploy-tools/android@75945289511d27cd4d307bb365437a94331088d3 call \
ionic-xc-task-with-pass --src DIR_PATH --xc-build-task string --pass env:MYSECRET
func (m *myModule) example(src *Directory, xcBuildTask string, pass *Secret) *Container {
return dag.
Android().
IonicXcTaskWithPass(src, xcBuildTask, pass)
}
@function
def example(src: dagger.Directory, xc_build_task: str, pass_: dagger.Secret) -> dagger.Container:
return (
dag.android()
.ionic_xc_task_with_pass(src, xc_build_task, pass_)
)
@func()
example(src: Directory, xcBuildTask: string, pass: Secret): Container {
return dag
.android()
.ionicXcTaskWithPass(src, xcBuildTask, pass)
}
ionicNpmTask() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | No description provided |
npmTask | String ! | - | No description provided |
Example
dagger -m github.com/digiogithub/dagger-deploy-tools/android@75945289511d27cd4d307bb365437a94331088d3 call \
ionic-npm-task --src DIR_PATH --npm-task string
func (m *myModule) example(src *Directory, npmTask string) *Container {
return dag.
Android().
IonicNpmTask(src, npmTask)
}
@function
def example(src: dagger.Directory, npm_task: str) -> dagger.Container:
return (
dag.android()
.ionic_npm_task(src, npm_task)
)
@func()
example(src: Directory, npmTask: string): Container {
return dag
.android()
.ionicNpmTask(src, npmTask)
}