Created
August 4, 2012 04:54
-
-
Save tkmtmkt/3254626 to your computer and use it in GitHub Desktop.
標準のディレクトリ構成を変更するscala設定ファイル(Basic)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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