Skip to content

Instantly share code, notes, and snippets.

@tkmtmkt
Created August 4, 2012 04:54
Show Gist options
  • Save tkmtmkt/3254626 to your computer and use it in GitHub Desktop.
Save tkmtmkt/3254626 to your computer and use it in GitHub Desktop.
標準のディレクトリ構成を変更するscala設定ファイル(Basic)
name := "My Project"
version := "0.1-SNAPSHOT"
organization := "home"
unmanagedBase <<= baseDirectory / "lib"
sourceDirectory in Test <<= baseDirectory / "test"
sourceDirectory in Compile <<= baseDirectory / "src"
javacOptions in Compile := Seq("-encoding", "UTF-8", "-Xlint")
javaSource in Compile <<= sourceDirectory in Compile
scalaSource in Compile <<= sourceDirectory in Compile
resourceDirectory in Compile <<= sourceDirectory in Compile
includeFilter in unmanagedResources := "*.properties"
excludeFilter in unmanagedResources <<= (excludeFilter in unmanagedResources, includeFilter in unmanagedSources) { (excl, incl) => excl || incl }
libraryDependencies ++= Seq(
"junit" % "junit" % "4.10" % "test",
"org.specs2" %% "specs2" % "1.11" % "test",
"org.mockito" % "mockito-core" % "1.9.0" % "test"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment