tools_intellij_platform_gradle_plugin_recipes.md: added 'Run the IDE with a default argument provided'

This commit is contained in:
Jakub Chrzanowski 2025-03-03 20:00:59 +01:00
parent 295196c98d
commit cc66ca6b54
No known key found for this signature in database
GPG Key ID: 56E9E73CB8E7486B

View File

@ -282,9 +282,9 @@ This is also possible when using the [`runIde`](tools_intellij_platform_gradle_p
```kotlin
tasks {
runIde {
argumentProviders.add(CommandLineArgumentProvider {
argumentProviders += CommandLineArgumentProvider {
listOf("/path/to/the/project")
})
}
}
}
```
@ -294,9 +294,9 @@ tasks {
```groovy
runIde {
argumentProviders.add {
argumentProviders.add({
['/path/to/the/project']
}
} as CommandLineArgumentProvider)
}
```