summaryrefslogtreecommitdiff
path: root/build.gradle
blob: 13c9d9db27ae8dfb352e35b9d25960f192e563b9 (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
30
31
32
33
34
35
36
37
description = 'String metrics and phonetic algorithms for Scala.'
group = 'com.rockymadden.stringmetric'
version = '0.25.2'

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

allprojects {
	apply plugin: 'idea'
}

subprojects {
	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.0'
		compile 'org.scala-lang:scala-library:2.10.0'

		scalaTools 'org.scala-lang:scala-compiler:2.10.0'
		scalaTools 'org.scala-lang:scala-library:2.10.0'

		testCompile 'junit:junit:4.11'
		testCompile 'org.scalatest:scalatest_2.10.0:2.0.M5'
	}

	repositories {
		mavenCentral()
	}
}