Created
December 23, 2013 14:07
-
-
Save chokkoyamada/8097638 to your computer and use it in GitHub Desktop.
init scala spec2 project
This file contains hidden or 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
| apply plugin: 'idea-scala' | |
| buildscript { | |
| repositories{ | |
| maven{ | |
| url "https://raw.github.com/rodionmoiseev/maven-repo/master/repo/releases" | |
| } | |
| } | |
| dependencies { | |
| classpath group: 'org.rodion.gradle', name: 'idea-scala-plugin', version: '0.2' | |
| } | |
| } | |
| repositories{ | |
| mavenCentral() | |
| } | |
| dependencies{ | |
| scalaApi 'org.scala-lang:scala-library:2.10.3' | |
| scalaTools 'org.scala-lang:scala-library:2.10.3' | |
| scalaTools 'org.scala-lang:scala-compiler:2.10.3' | |
| testCompile 'org.specs2:specs2_2.10:2.3.6' | |
| } | |
| task initProjectDirs() { | |
| new File('src/main/scala').mkdirs() | |
| new File('src/main/resources').mkdirs() | |
| new File('src/test/scala').mkdirs() | |
| new File('src/test/resources').mkdirs() | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment