-
- All Implemented Interfaces:
public abstract class KotlinToolRunner
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classKotlinToolRunner.GradleExecutionContextContext Services that are required for KotlinToolRunner during Gradle Task Execution Phase
public classKotlinToolRunner.Companion
-
Field Summary
Fields Modifier and Type Field Description private final StringdisplayNameprivate final StringmainClassprivate final StringdaemonEntryPointprivate final Map<String, String>execEnvironmentprivate final Set<String>execEnvironmentBlacklistprivate final Map<String, String>execSystemPropertiesprivate final Set<String>execSystemPropertiesBlacklistprivate final Set<File>classpathprivate final ObjectisolatedClassLoaderCacheKeyprivate final StringdefaultMaxHeapSizeprivate final BooleanenableAssertionsprivate final BooleandisableC2private final BooleanmustRunViaExec
-
Constructor Summary
Constructors Constructor Description KotlinToolRunner(Project project)KotlinToolRunner(KotlinToolRunner.GradleExecutionContext executionContext)
-
Method Summary
Modifier and Type Method Description abstract StringgetDisplayName()abstract StringgetMainClass()StringgetDaemonEntryPoint()Map<String, String>getExecEnvironment()Set<String>getExecEnvironmentBlacklist()Map<String, String>getExecSystemProperties()Set<String>getExecSystemPropertiesBlacklist()abstract Set<File>getClasspath()abstract ObjectgetIsolatedClassLoaderCacheKey()StringgetDefaultMaxHeapSize()BooleangetEnableAssertions()BooleangetDisableC2()abstract BooleangetMustRunViaExec()UnitcheckClasspath()List<String>transformArgs(List<String> args)List<String>getCustomJvmArgs()final Unitrun(List<String> args)-
-
Constructor Detail
-
KotlinToolRunner
KotlinToolRunner(Project project)
-
KotlinToolRunner
KotlinToolRunner(KotlinToolRunner.GradleExecutionContext executionContext)
-
-
Method Detail
-
getDisplayName
abstract String getDisplayName()
-
getMainClass
abstract String getMainClass()
-
getDaemonEntryPoint
String getDaemonEntryPoint()
-
getExecEnvironment
Map<String, String> getExecEnvironment()
-
getExecEnvironmentBlacklist
Set<String> getExecEnvironmentBlacklist()
-
getExecSystemProperties
Map<String, String> getExecSystemProperties()
-
getExecSystemPropertiesBlacklist
Set<String> getExecSystemPropertiesBlacklist()
-
getClasspath
abstract Set<File> getClasspath()
-
getIsolatedClassLoaderCacheKey
abstract Object getIsolatedClassLoaderCacheKey()
-
getDefaultMaxHeapSize
String getDefaultMaxHeapSize()
-
getEnableAssertions
Boolean getEnableAssertions()
-
getDisableC2
Boolean getDisableC2()
-
getMustRunViaExec
abstract Boolean getMustRunViaExec()
-
checkClasspath
Unit checkClasspath()
-
transformArgs
List<String> transformArgs(List<String> args)
-
getCustomJvmArgs
List<String> getCustomJvmArgs()
-
-
-
-