Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Gradle plugin to create .ensime project files for Scala projects.
Groovy Scala Java
Branch: master
Failed to load latest commit information.
gradle/wrapper
src
.gitignore
.travis.yml
CONTRIBUTING.md
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat

README.md

Gradle ENSIME Plugin

Build Status

Purposes

The gradle-ensime plugin creates .ensime project files for the ENhanced Scala Integration Mode for Emacs (ENSIME), written by Aemon Cannon.

Usage

For it to work the build.gradle file either needs to have the scala plugin or the gradle-android-scala-plugin to be configured (the later is WIP).

A working android example can be found here.

To use the plugin, make sure that the jar file is loaded in the buildscript classpath and the plugin is applied:

buildscript {
  repositories { mavenCentral() }

  dependencies {
    classpath group: 'net.coacoas.gradle', name: 'gradle-ensime', version: '0.1.10'
  }
}
apply plugin: 'ensime'

The plugin adds the 'ensime' task to the project to create a .ensime file in the project directory.

./gradlew ensime

Each time the task is executed, the .ensime file will be regenerated.

To see the plugin in action you can also clone this repo and then run gradle build to build the plugin and then cd src/test/sample/scala and run gradle clean build ensime.

Next Steps

At this point, I think it would be good to clean this up and get it added to the Gradle Plugin Repository. If an issue exists keeping this from a 1.0 version, let me know so it can get fixed.

Updates

0.11

  • Thanks to rolandtritsch for this update!
  • Fixes Issue #6: Generates .ensime files for Android development
  • Back to supporting Java 6
Something went wrong with that request. Please try again.