summaryrefslogtreecommitdiff
path: root/build.gradle
blob: ba67f8ac009303f234f2d00b7798f9300eb2e73e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
description = 'String metrics and phonetic algorithms for Scala.'
group = 'com.rockymadden.stringmetric'
version = '0.25.3'

ext.scm = 'scm:git@github.com:rockymadden/stringmetric.git'
ext.url = 'http://rockymadden.com/stringmetric/'

buildscript {
	dependencies { classpath 'net.coacoas.gradle:gradle-ensime:0.1.8' }
	repositories { mavenCentral() }
}

subprojects {
	apply plugin: 'ensime'
	apply plugin: 'scala'

	compileScala { compileScala.scalaCompileOptions.additionalParameters = ['-target:jvm-1.6', '–Xdisable-assertions'] }
	compileTestScala { compileTestScala.scalaCompileOptions.additionalParameters = ['-target:jvm-1.6'] }

	dependencies {
		compile 'org.scala-lang:scala-compiler:2.10.1'
		compile 'org.scala-lang:scala-library:2.10.1'

		testCompile 'junit:junit:4.11'
		testCompile 'org.scalatest:scalatest_2.10:2.0.M5b'
	}

	repositories { mavenCentral() }
}