https://github.com/jacobono/emacs-gradle-mode.git
git clone 'git://github.com/jacobono/emacs-gradle-mode.git'
Minor mode for emacs to run gradle from emacs and not have to go to a terminal!
Available on MELPA:
M-x package-install gradle-mode
Or you can just dump gradle-mode.el in your load path somewhere.
After installation, you can confiugre this mode to always be on with:
(require 'gradle-mode)
(gradle-mode 1)
Or just
M-x gradle-mode
when you are ready to use it.
C-c C-g bgradle buildC-c C-g tgradle testC-c C-g sgradle test -Dsingle.test="user-supplied"C-c C-g C-d bgradle build --daemonC-c C-g C-d tgradle test --daemonC-c C-g C-d sgradle -Dsingle.test="user-supplied" --daemonC-c C-g dgradle "user-supplied" --daemonC-c C-g rgradle "user-supplied"The prefix C-d runs the command with gradle's daemon, or creates one
if it is not already present.
Currently, the only versions of emacs that are passing are 24.3. I plan on trying to look into it more, but both Travis and drone are barfing when I try and run the tests with <24.3.
If you want to contribute, please fork and submit a pull request!
gradle-use-gradlew is turned onf and dashgradle-project-find-dir uses locate-dominating-file instead of f-traverse-upwards