gradle
8.2

# NativeExecutableSpec

@Incubating
interface NativeExecutableSpec : ApplicationSpec, NativeComponentSpec, TargetedNativeComponent

Definition of a native executable component that is to be built by Gradle.

## Functions

getBaseName
Link copied to clipboard
abstract fun getBaseName(): String
getBinaries
Link copied to clipboard
abstract fun getBinaries(): ModelMap<BinarySpec>
getDisplayName
Link copied to clipboard
abstract fun getDisplayName(): String
getName
Link copied to clipboard
abstract fun getName(): String
getProjectPath
Link copied to clipboard
abstract fun getProjectPath(): String
getSources
Link copied to clipboard
abstract fun getSources(): ModelMap<LanguageSourceSet>
getVariants
Link copied to clipboard
abstract fun getVariants(): Iterable<out Binary>
setBaseName
Link copied to clipboard
abstract fun setBaseName(baseName: String)
targetBuildTypes
Link copied to clipboard
abstract fun targetBuildTypes(buildTypeSelectors: Array<String>)
targetFlavors
Link copied to clipboard
abstract fun targetFlavors(flavorSelectors: Array<String>)
targetPlatform
Link copied to clipboard
abstract fun targetPlatform(targetPlatform: String)