Skip to content

Instantly share code, notes, and snippets.

@clstokes
Created January 19, 2013 18:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clstokes/4574026 to your computer and use it in GitHub Desktop.
Save clstokes/4574026 to your computer and use it in GitHub Desktop.
import org.gradle.plugins.javascript.coffeescript.CoffeeScriptCompile
apply plugin: 'coffeescript-base'
repositories {
mavenCentral()
mavenRepo name: "Gradle", url: "http://repo.gradle.org/gradle/repo"
}
task compileCoffeeScript(type: CoffeeScriptCompile) {
source fileTree('src/main/coffee')
destinationDir file('build/js')
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment