Added gradle instructions.
This commit is contained in:
parent
4c7bd2fde1
commit
adfccb147b
|
@ -19,7 +19,8 @@
|
|||
- [[#configuration][Configuration]]
|
||||
- [[#usage][Usage]]
|
||||
- [[#ensime][ENSIME]]
|
||||
- [[#installation-2][Installation]]
|
||||
- [[#installation-when-using-sbt][Installation when using SBT]]
|
||||
- [[#installation-when-using-gradle][Installation when using Gradle]]
|
||||
- [[#configuration-1][Configuration]]
|
||||
- [[#usage-1][Usage]]
|
||||
- [[#issues][Issues]]
|
||||
|
@ -195,13 +196,17 @@ Another backend option is the ENSIME server, which is a lot more responsive than
|
|||
Eclim. ENSIME is originally made to work with Scala but it now works with plain
|
||||
Java projects as well.
|
||||
|
||||
*** Installation
|
||||
*** Installation when using SBT
|
||||
Find it with your favourite package manager, eg:
|
||||
#+BEGIN_SRC shell
|
||||
nix-env --install sbt
|
||||
#+END_SRC
|
||||
or refer to [[http://www.scala-sbt.org/download.html][the sbt installation instructions]].
|
||||
|
||||
*** Installation when using Gradle
|
||||
Refer to the [[https://ensime.org/build_tools/gradle/][Ensime installation instructions]] to install the =ensime-gradle=
|
||||
plugin.
|
||||
|
||||
*** Configuration
|
||||
Follow [[https://ensime.github.io/build_tools/sbt/][the ENSIME configuration instructions]]. Spacemacs uses
|
||||
the development version of Ensime so follow the appropriate steps.
|
||||
|
|
|
@ -35,7 +35,8 @@ version (Stable). Please add the following lines to =dotspacemacs/user-init=:
|
|||
and project-wide type-checking.
|
||||
|
||||
ENSIME requires a configuration file at the root of each Scala project. It
|
||||
provides an SBT plugin to generate these files.
|
||||
provides an SBT plugin, a gradle plugin and others (see [[http://ensime.org/build_tools/][ensime.org]] for a full
|
||||
list) to generate these files.
|
||||
|
||||
Installation instructions and usage can be found in the =Java= layer
|
||||
[[https://github.com/syl20bnr/spacemacs/tree/develop/layers/%2Blang/java/README.org#ensime][README.org]].
|
||||
|
|
Loading…
Reference in New Issue