Ryan Gurney
- Total activity 31
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 3
- Subscriptions 8
-
Edited Run Gradle task from plugin action
AnsweredHello, I'm creating a plugin which will reformat a file via a gradle task (e.g. gradle formatApply <filepath>). What is the preferred way to execute a gradle task in the background from a plugin --... -
Edited How to Test Action Which Runs Gradle Task
Could someone give me an example of how to set up a test which can assert that when an action is called, a certain gradle task is called with the expected arguments? I can't figure out how to do t... -
Edited ExternalSystemUtil Questions
AnsweredI'm using ExternalSystemUtil to run a gradle task, and am hitting some snags: It looks like for the external formatter you must supply an implementation for both `run` and `cancel`. The issue is I... -
Edited Running Multiple Reformat Gradle Tasks Gives Error
AnsweredI have a plugin where we are trying to change it to run its reformat action on save on multiple files at once. We do this now by looping through all open files being saved, e.g. for (Document d... -
Created Parse Gradle Version
AnsweredHi, Is there a way to obtain the gradle version the IDE is using within a plugin action? Thank you! -
Edited Run Command Using Either Gradle or Maven Depending on Project
AnsweredI currently have a plugin which runs a gradle task as an action using the method described here. Is it possible to somehow detect which build tool a project is using, so I could automatically exec... -
Created Help Developing Plugin (Reformat File Using Bash/gradle Command)
AnsweredHello, I'd like to develop a plugin which is able to reformat code by executing a bash/gradle command e.g. `./gradlew formatApply` on file save or via menu item select. This command can either chan...