apply plugin: 'scala'

repositories {
    mavenCentral()
}

dependencies {
    scalaTools 'org.scala-lang:scala-compiler:2.7.7'
    scalaTools 'org.scala-lang:scala-library:2.7.7'

    compile 'org.scala-lang:scala-library:2.7.7'
    testCompile group: 'junit', name: 'junit', version: '4.7'
}

// START SNIPPET define-main
sourceSets {
    main {
        scala {
            srcDir 'src/scala'
        }
    }
// END SNIPPET define-main
    test {
        scala {
            srcDir 'test/scala'
        }
    }
// START SNIPPET define-main
}
// END SNIPPET define-main
