idea-plugin / arrow.meta.ide.testing.env.gradle / GradleSyntax

GradleSyntax

interface GradleSyntax

Functions

| assertGradle | open fun `[`GradleSyntax`](./index.html)`.assertGradle(project: Project, rootPath: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, settings: GradleManager.() -> GradleExecutionSettings? = { executionSettingsProvider.`fun`(Pair.create(project, rootPath)) }, jvmSetupParams: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`? = null, tasks: `[`List`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`>): `[`Pair`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html)`<AbstractThrowableAssert<*, out `[`Throwable`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)`>, `[`List`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`>> | | gradle | runs a gradle task. This extension throws an exception if the gradle task fails or throws an exception. To recover from this, please use assertThatCode.open fun GradleSyntax.gradle(project: Project, rootPath: String, settings: GradleManager.() -> GradleExecutionSettings? = Noop.nullable1(), jvmSetupParams: String? = null, listener: ExternalSystemTaskNotificationListener, tasks: List<String>): Unit
returns the logs with the each taskOutputopen fun `[`GradleSyntax`](./index.html)`.gradle(project: Project, rootPath: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, settings: GradleManager.() -> GradleExecutionSettings? = { executionSettingsProvider.`fun`(Pair.create(project, rootPath)) }, jvmSetupParams: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`? = null, tasks: `[`List`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`>, logs: `[`MutableList`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)`<`[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`>): `[`List`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`> | | listener | open fun GradleSyntax.listener(taskOutput: (id: ExternalSystemTaskId, text: String, stdOut: Boolean) -> Unit = Noop.effect3, failure: (id: ExternalSystemTaskId, Exception) -> Unit = Noop.effect2): ExternalSystemTaskNotificationListenerAdapter |

Inheritors

IdeTestSyntax interface IdeTestSyntax : IdeTestTypeSyntax, LineMarkerTestSyntax, IconProviderTestSyntax, InspectionTestSyntax, ResolutionSyntax, FoldingTestSyntax, GitSyntax, GradleSyntax

Do you like Arrow?

Arrow Org
<