summaryrefslogtreecommitdiff
path: root/build.gradle
blob: b5eb93346a7920ad97e7607ddd26a40b63324730 (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
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'
		classpath 'net.saliman:gradle-cobertura-plugin:2.0.0'
        classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:0.1.6'
	}
	repositories { mavenCentral() }
}

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

	cobertura.coverageFormats = ['html', 'xml']
	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.2'
		compile 'org.scala-lang:scala-library:2.10.2'

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

	repositories { mavenCentral() }
}