-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
61 lines (52 loc) · 1.51 KB
/
build.gradle
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
plugins {
id 'com.github.johnrengelman.shadow' version '1.2.4'
id 'com.github.maiflai.scalatest' version '0.14'
id 'org.unbroken-dome.test-sets' version '1.3.2'
}
allprojects {
apply plugin: 'scala'
apply plugin: 'com.github.maiflai.scalatest'
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'maven-publish'
apply plugin: 'org.unbroken-dome.test-sets'
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
ext.jacksonVersion = '2.8.6'
ext.springVersion = '4.3.6.RELEASE'
ext.datastaxVersion = '3.1.3'
group = 'com.github.leifker'
repositories {
flatDir {
dirs 'libs'
}
mavenCentral()
maven {
url "https://dl.bintray.com/peoplepattern/maven"
}
}
compileJava {
options.compilerArgs << '-Xlint:all'
}
testSets {
integrationTest { dirName = 'integration-test' }
integrationTest { createArtifact = true }
}
integrationTest.dependsOn test
dependencies {
testCompile 'junit:junit:4.12'
testCompile "org.springframework:spring-test:$springVersion"
testCompile "org.springframework:spring-context:$springVersion"
testCompile 'org.hamcrest:hamcrest-all:1.3'
}
sourceSets {
integrationTest {
scala {
compileClasspath += main.output + configurations.integrationTestCompile + test.output
runtimeClasspath += main.output + configurations.integrationTestRuntime + test.output
srcDir file('src/integration-test/scala')
}
resources.srcDir file('src/integration-test/resources')
}
}
}