Git Product home page Git Product logo

emacs-gradle-mode's Introduction

emacs-gradle-mode

[Build Status] (https://travis-ci.org/jacobono/emacs-gradle-mode)

Minor mode for emacs to run gradle from emacs and not have to go to a terminal!

Installation

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.

Keybindings

  • C-c C-g b
    • run gradle build
  • C-c C-g t
    • run gradle test
  • C-c C-g s
    • run gradle test -Dsingle.test="user-supplied"
    • User supplies test to run from prompt
  • C-c C-g C-d b
    • run gradle build --daemon
  • C-c C-g C-d t
    • run gradle test --daemon
  • C-c C-g C-d s
    • run gradle -Dsingle.test="user-supplied" --daemon
    • User supplies test to run from prompt
  • C-c C-g d
    • run gradle "user-supplied" --daemon
    • User supplies tasks to run from prompt
  • C-c C-g r
    • run gradle "user-supplied"
    • User supplies tasks to run from prompt

The prefix C-d runs the command with gradle's daemon, or creates one if it is not already present.

Limitations

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.

Contribute

If you want to contribute, please fork and submit a pull request!

Changlog

0.5.4

  • CI is breaking from 0.5.4, only version of Emacs that tests execute appropriately is 24.3

0.5.3

  • losing dependencies on f and dash
  • gradle-project-find-dir uses locate-dominating-file instead of f-traverse-upwards

0.5.2

  • mode lighter string changed from gra to Gradle

0.5

  • First Release

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.