Stay organized with collections
Save and categorize content based on your preferences.
Execution
interface Execution
Summary
Public functions |
Unit |
Container where profiles can be declared.
|
Unit |
Container where profiles can be declared.
|
Public functions
Public properties
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# Execution\n=========\n\n\n```\ninterface Execution\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nSummary\n-------\n\n| ### Public functions ||\n|------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [profiles](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/Execution#profiles(org.gradle.api.Action))`(action: `[Action](https://docs.gradle.org/current/javadoc/org/gradle/api/Action.html)`\u003c`[NamedDomainObjectContainer](https://docs.gradle.org/current/javadoc/org/gradle/api/NamedDomainObjectContainer.html)`\u003c`[ExecutionProfile](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/ExecutionProfile)`\u003e\u003e)` Container where profiles can be declared. |\n| [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [profiles](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/Execution#profiles(kotlin.Function1))`(action: @`[ExtensionFunctionType](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-extension-function-type/index.html)` `[NamedDomainObjectContainer](https://docs.gradle.org/current/javadoc/org/gradle/api/NamedDomainObjectContainer.html)`\u003c`[ExecutionProfile](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/ExecutionProfile)`\u003e.() `-\u003e` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` Container where profiles can be declared. |\n\n| ### Public properties ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------|\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?` | [defaultProfile](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/Execution#defaultProfile()) Select execution profile |\n| [NamedDomainObjectContainer](https://docs.gradle.org/current/javadoc/org/gradle/api/NamedDomainObjectContainer.html)`\u003c`[ExecutionProfile](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/ExecutionProfile)`\u003e` | [profiles](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/Execution#profiles()) Container where profiles can be declared. |\n\nPublic functions\n----------------\n\n### profiles\n\n```\nfun profiles(action: Action\u003cNamedDomainObjectContainer\u003cExecutionProfile\u003e\u003e): Unit\n```\n\nContainer where profiles can be declared. \n\n### profiles\n\n```\nfun profiles(action: @ExtensionFunctionType NamedDomainObjectContainer\u003cExecutionProfile\u003e.() -\u003e Unit): Unit\n```\n\nContainer where profiles can be declared.\n\nPublic properties\n-----------------\n\n### defaultProfile\n\n```\nvar defaultProfile: String?\n```\n\nSelect execution profile \n\n### profiles\n\n```\nval profiles: NamedDomainObjectContainer\u003cExecutionProfile\u003e\n```\n\nContainer where profiles can be declared."]]