Skip to content

Instantly share code, notes, and snippets.

@skatsuta
Created July 7, 2014 00:56
Show Gist options
  • Save skatsuta/f451e42a16230082a98a to your computer and use it in GitHub Desktop.
Save skatsuta/f451e42a16230082a98a to your computer and use it in GitHub Desktop.
Scala 用 build.gradle
apply{
plugin 'scala'
plugin 'idea'
}
ext {
scalaVersion = '2.11'
spec2Version = '2.3.12'
}
repositories {
mavenCentral()
}
tasks.withType(ScalaCompile) {
scalaCompileOptions.useCompileDaemon = false
scalaCompileOptions.useAnt = false
}
dependencies {
compile "org.scala-lang:scala-library:$scalaVersion.0"
testCompile "org.specs2:specs2_$scalaVersion:$spec2Version"
}
@skatsuta
Copy link
Author

skatsuta commented Jul 7, 2014

プロジェクト構成

~/fpinscala/build.gradle
~/fpinscala/src/main/scala
~/fpinscala/src/test/scala

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment