-
- All Implemented Interfaces:
-
org.gradle.api.Named
public final class Executable extends AbstractExecutable
-
-
Field Summary
Fields Modifier and Type Field Description private final NativeOutputKindoutputKindprivate StringbaseNameprivate StringentryPointprivate final StringrunTaskNameprivate final TaskProvider<AbstractExecTask<?>>runTaskProviderprivate final AbstractExecTask<?>runTaskprivate final KotlinNativeTargettargetprivate final Projectprojectprivate Booleandebuggableprivate Booleanoptimizedprivate List<String>linkerOptsprivate Map<String, String>binaryOptionsprivate List<String>freeCompilerArgsprivate final StringlinkTaskNameprivate final KotlinNativeLinklinkTaskprivate final TaskProvider<out KotlinNativeLink>linkTaskProviderprivate FileoutputDirectoryprivate final DirectoryPropertyoutputDirectoryPropertyprivate final FileoutputFileprivate final NativeBuildTypebuildTypeprivate transient KotlinNativeCompilationcompilation
-
Constructor Summary
Constructors Constructor Description Executable(String name, String baseName, NativeBuildType buildType, KotlinNativeCompilation compilation)
-
Method Summary
Modifier and Type Method Description NativeOutputKindgetOutputKind()StringgetBaseName()UnitsetBaseName(String baseName)final StringgetEntryPoint()The fully qualified name of the main function. final UnitsetEntryPoint(String entryPoint)The fully qualified name of the main function. final StringgetRunTaskName()final TaskProvider<AbstractExecTask<?>>getRunTaskProvider()final AbstractExecTask<?>getRunTask()final UnitentryPoint(String point)Set the fully qualified name of the main function. -
Methods inherited from class org.jetbrains.kotlin.gradle.plugin.mpp.NativeBinary
binaryOption, getBinaryOptions, getBuildType, getCompilation, getDebuggable, getFreeCompilerArgs, getLinkTask, getLinkTaskName, getLinkTaskProvider, getLinkerOpts, getName, getOptimized, getOutputDirectory, getOutputDirectoryProperty, getOutputFile, getProject, getTarget, linkerOpts, linkerOpts, setBinaryOptions, setCompilation, setDebuggable, setFreeCompilerArgs, setLinkerOpts, setOptimized, setOutputDirectory -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
Executable
Executable(String name, String baseName, NativeBuildType buildType, KotlinNativeCompilation compilation)
-
-
Method Detail
-
getOutputKind
NativeOutputKind getOutputKind()
-
getBaseName
String getBaseName()
-
setBaseName
Unit setBaseName(String baseName)
-
getEntryPoint
final String getEntryPoint()
The fully qualified name of the main function. For an example:
"main"
"com.example.main"
The main function can either take no arguments or an Array<String>.
-
setEntryPoint
final Unit setEntryPoint(String entryPoint)
The fully qualified name of the main function. For an example:
"main"
"com.example.main"
The main function can either take no arguments or an Array<String>.
-
getRunTaskName
final String getRunTaskName()
-
getRunTaskProvider
final TaskProvider<AbstractExecTask<?>> getRunTaskProvider()
-
getRunTask
final AbstractExecTask<?> getRunTask()
-
entryPoint
final Unit entryPoint(String point)
Set the fully qualified name of the main function. For an example:
"main"
"com.example.main"
The main function can either take no arguments or an Array<String>.
-
-
-
-