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 b
gradle build
C-c C-g t
gradle test
C-c C-g s
gradle test -Dsingle.test="user-supplied"
C-c C-g C-d b
gradle build --daemon
C-c C-g C-d t
gradle test --daemon
C-c C-g C-d s
gradle -Dsingle.test="user-supplied" --daemon
C-c C-g d
gradle "user-supplied" --daemon
C-c C-g r
gradle "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 dash
gradle-project-find-dir
uses locate-dominating-file
instead of f-traverse-upwards