summaryrefslogtreecommitdiff
path: root/plugins/gradle/gradle.plugin.zsh
AgeCommit message (Collapse)Author
2018-08-29executing gradlew, when gradlew-file exists (#6485)Janosch Schwalm
2018-05-08gradle plugin should support kotlin gradle build files (#6529)David Harrigan
This change allows the gradle plugin to recongise build.gradle.kts files and thus generate the autocomplete entries. -=david=- closes #6528
2017-01-04Improved gradle options (arguments) completion (#5743)Eric Wendelin
* Sort gradle options for autocompletion This will allow us to more easily keep the options list up-to-date * Add missing gradle options to gradle plugin Reflect documentation at https://docs.gradle.org/3.2.1/userguide/gradle_command_line.html
2016-12-14gradle: extract simple task names from subproject tasks (#5704)Erik Zivkovic
Currently, only tasks with complete subproject specifier are added to .gradletasknamecache. Gradle commands can be called for all (sub-)projects they are defined for, using their name as defined in the subproject, here called "simple" task names. One example is "gradle clean". This patch adds support for parsing out those "simple" task names from the list of fully specified task names. The .gradletasknamecache file will contain both the fully specified names, and the "simple" names for your autocompletion pleasure.
2016-09-15Improve gradle plugin task parsing (#5230)Erik Zivkovic
* Improve gradle plugin task parsing Added _gradle and _gradlew as symbolic links to gradle.plugin.zsh, otherwise the plugin was not properly loaded. Output from `gradlew tasks --all` is now parsed in two levels, first we find segments between `------...` and a newline. Second, all those lines are parsed and cleaned using awk and added to .gradletasknamecache. Tested on gradle 2.13, and gradlew 2.14. * Remove .gradletasknamecache before regenerating it Remove the .gradletasknamecache file to avoid having an unnecessary newline at the top of the file when regenerating it. * Improve gradle task parsing by writing .gradletasknamecache atomically Previously the .gradletasknamecache file was written line by line inside a parsing loop, which could cause errors such as half-written cache files if the process was aborted. This also removes the need of deleting the .gradletasknamecache file before parsing.
2015-11-21Cleanup gradle plugin fileMarc Cornellà
- Delete useless #!zsh - Simplify gradle build file check - Format comments and delete TODO stuff (already dealt with) - Use `$()` syntax for cat commands
2015-11-21gradle plugin: also list tasks in subprojectsGergely Nagy
2015-10-04Update Gradle CommandsKevin O'Neal
2015-09-02Fix invocation of gradlewEric Bottard
2015-06-14Merge pull request #3813 from ziegs/fix_gradle_tasksRobby Russell
Fixes gradle autocomplete so it includes subproject tasks
2015-04-25Fixes gradle autocomplete. Regex did not include subproject tasks before.Matthew Ziegelbaum
2014-06-02Fix comparison used to determine if the cache is outdated.Doug Jones
2013-03-12Use [ -nt ] instead of stat -f%m to check cache files.Spencer Rinehart
2011-08-11Added a gradle build tool pluginMatthew Git McCullough
* Enhanced gradle plugin to parse tasks from a quick execution of the tool * Added a duplicated function for gradlew completion that uses gradlew internally. Builds like Gradle itself (built with Gradle) are sensitive to being run with a matching gradlew version. * Fixed broken caching of gradle task names. Added - and -- argument completions.