RunnableIdeAware

The interface which uses a set of various interfaces required for running a guest IDE.

See also

Inheritors

Properties

Link copied to clipboard
@get:Internal
abstract var allJvmArgs: List<String?>?
Link copied to clipboard
@get:Internal
abstract val autoReload: Property<Boolean>

Enables auto-reload of dynamic plugins. Dynamic plugin will be reloaded automatically when its content is modified.

Link copied to clipboard
@get:Classpath
abstract var bootstrapClasspath: FileCollection?
Link copied to clipboard
@get:Internal
@get:Optional
abstract val coroutinesJavaAgentFile: RegularFileProperty

The path to the coroutines Java Agent file.

Link copied to clipboard
@get:Input
abstract var debug: Boolean
Link copied to clipboard
abstract val debugOptions: JavaDebugOptions?
Link copied to clipboard
@get:Optional
@get:Input
abstract var defaultCharacterEncoding: @Nullable String?
Link copied to clipboard
@get:Input
abstract var enableAssertions: Boolean
Link copied to clipboard
abstract var environment: Map<String?, Any?>?
Link copied to clipboard
abstract var executable: String?
Link copied to clipboard
@get:InputFiles
@get:PathSensitive(value = PathSensitivity.RELATIVE)
abstract val intelliJPlatformConfiguration: ConfigurableFileCollection

Holds the Configurations.INTELLIJ_PLATFORM_DEPENDENCY configuration with the IntelliJ Platform dependency added. It should not be directly accessed.

Link copied to clipboard
@get:InputFiles
@get:PathSensitive(value = PathSensitivity.RELATIVE)
abstract val intelliJPlatformPluginConfiguration: ConfigurableFileCollection

Holds the Configurations.INTELLIJ_PLATFORM_PLUGIN_DEPENDENCY configuration with the optional custom IntelliJ Platform plugins dependencies added. It should not be directly accessed.

@get:InputFiles
@get:PathSensitive(value = PathSensitivity.RELATIVE)
abstract val intelliJPlatformTestRuntimeFixClasspathConfiguration: ConfigurableFileCollection

Holds the Configurations.INTELLIJ_PLATFORM_TEST_RUNTIME_FIX_CLASSPATH configuration with the custom IntelliJ Platform core dependency required for running tests. It should not be directly accessed.

Link copied to clipboard
@get:Internal
abstract val jetbrainsRuntimeConfiguration: ConfigurableFileCollection

Holds the Configurations.JETBRAINS_RUNTIME configuration with the JetBrains Runtime dependency added. It should not be directly accessed.

Link copied to clipboard
@get:Optional
@get:Input
abstract var jvmArgs: List<String?>?
Link copied to clipboard
abstract val jvmArgumentProviders: List<CommandLineArgumentProvider?>?
Link copied to clipboard
@get:Optional
@get:Input
abstract var maxHeapSize: @Nullable String?
Link copied to clipboard
@get:Optional
@get:Input
abstract var minHeapSize: @Nullable String?
Link copied to clipboard
@get:Internal
abstract val module: Property<Boolean>

Indicates if the current project represents an IntelliJ Platform plugin module.

Link copied to clipboard
@get:Internal
open val platformPath: Path

Provides access to the IntelliJ Platform dependency artifact path.

Link copied to clipboard
@get:InputFile
@get:PathSensitive(value = PathSensitivity.RELATIVE)
@get:Optional
abstract val pluginXml: RegularFileProperty

Holds the path to the patched plugin.xml file.

Link copied to clipboard
@get:Internal
open val productInfo: ProductInfo

Provides information about the IntelliJ Platform product. The information is retrieved from the product-info.json file in the IntelliJ Platform directory.

Link copied to clipboard
@get:Internal
abstract val runtimeArchitecture: Property<String>

An architecture of the Java Runtime currently used for running Gradle.

Link copied to clipboard
@get:Internal
abstract val runtimeDirectory: DirectoryProperty

Java Runtime parent directory.

Link copied to clipboard
@get:Internal
abstract val runtimeLauncher: Property<JavaLauncher>

A custom JavaLauncher instance configured with the resolved runtimeDirectory.

Link copied to clipboard
@get:Internal
abstract val runtimeMetadata: MapProperty<String, String>

Metadata object of the Java Runtime currently used for running Gradle.

Link copied to clipboard
@get:Internal
abstract val sandboxConfigDirectory: DirectoryProperty

A configuration directory located within the sandboxDirectory.

Link copied to clipboard
@get:Internal
abstract val sandboxDirectory: DirectoryProperty

The directory containing content read and produced by the running IDE.

Link copied to clipboard
@get:Internal
abstract val sandboxLogDirectory: DirectoryProperty

A log directory located within the sandboxDirectory.

Link copied to clipboard
@get:Internal
abstract val sandboxPluginsDirectory: DirectoryProperty

A plugins directory located within the sandboxDirectory.

Link copied to clipboard
@get:Internal
abstract val sandboxSystemDirectory: DirectoryProperty

A system directory located within the sandboxDirectory.

Link copied to clipboard
@get:Input
abstract var systemProperties: Map<String?, @Nullable Any?>?
Link copied to clipboard
@get:Internal
abstract val testSandbox: Property<Boolean>

Defines if the current sandbox is related to testing.

Link copied to clipboard
abstract var workingDir: File?

Functions

Link copied to clipboard
open fun Task.applyFrontendSandboxFrom(sandboxProducerTaskProvider: TaskProvider<PrepareSandboxTask>)
Link copied to clipboard
open fun Task.applySandboxFrom(sandboxProducerTaskProvider: TaskProvider<PrepareSandboxTask>)
Link copied to clipboard
abstract fun bootstrapClasspath(vararg classpath: @Nullable Any?): JavaForkOptions?
Link copied to clipboard
abstract fun copyTo(options: JavaForkOptions?): JavaForkOptions?
abstract fun copyTo(options: ProcessForkOptions?): ProcessForkOptions?
Link copied to clipboard
abstract fun debugOptions(action: Action<JavaDebugOptions?>?)
Link copied to clipboard
abstract fun environment(environmentVariables: Map<String?, *>?): ProcessForkOptions?
abstract fun environment(name: String?, value: Any?): ProcessForkOptions?
Link copied to clipboard
abstract fun executable(executable: Any?): ProcessForkOptions?
Link copied to clipboard
abstract fun jvmArgs(arguments: Iterable<*>?): JavaForkOptions?
abstract fun jvmArgs(vararg arguments: Any?): JavaForkOptions?
Link copied to clipboard
abstract fun systemProperties(properties: Map<String?, out @Nullable Any?>?): JavaForkOptions?
Link copied to clipboard
abstract fun systemProperty(name: String?, value: @Nullable Any?): JavaForkOptions?
Link copied to clipboard

Validates that the resolved IntelliJ Platform is supported by checking against the minimal supported IntelliJ Platform version.

Link copied to clipboard
abstract fun workingDir(dir: Any?): ProcessForkOptions?