Skip to content

Instantly share code, notes, and snippets.

@Habitats
Created March 9, 2016 10:14
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 Habitats/3703e8adac820137f7d7 to your computer and use it in GitHub Desktop.
Save Habitats/3703e8adac820137f7d7 to your computer and use it in GitHub Desktop.
build.gradle:
plugins {
id 'idea'
}
subprojects{
apply plugin: 'scala'
repositories {
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}
tasks.withType(ScalaCompile) {
sourceCompatibility = "1.7"
targetCompatibility = "1.7"
}
configurations {
...
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
testCompile 'org.scalatest:scalatest_2.10:3.0.0-M7'
compile "org.scala-lang:scala-library:2.10.6"
compile "org.scala-lang:scala-compiler:2.10.6"
}
}
settings.gradle:
rootProject.name = 'projectname'
include 'module1', 'module2'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment