After the most recent NFJS conference, Matt and Tim encouraged me to post my gradle/emacs integration scheme for compiles
Starting point for integration between gradle and compilation mode in emacs.
- set add a regexp for the compilation mode so that emacs can recognize gradle output.
For Gnu emacs this works (add-to-list
'compilation-error-regexp-alist
'("^\[ERROR\] \(.*\):\[\([0-9]+\),\([0-9]+\)\]" 1 2 3))
for a little more information see
http://praveen.kumar.in/2011/03/09/making-gnu-emacs-detect-custom-error-messages-a-maven-example
Add a command so that emacs can find your gradle build file. This provides functionality similar to ant -s.
https://github.com/bealeaj1214/elisp-personal/blob/master/gradle-compile.el