-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
74 lines (63 loc) · 1.47 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
62
63
64
65
66
67
68
69
70
71
72
73
buildscript {
repositories {
mavenCentral()
maven { url 'https://plugins.gradle.org/m2/' }
}
dependencies {
classpath 'gradle.plugin.org.openrepose:gradle-jaxb-plugin:2.4.1'
}
}
allprojects {
configurations {
testCompile.extendsFrom compileOnly
}
repositories {
mavenCentral()
}
dependencies {
testCompile 'org.codehaus.groovy:groovy-all:2.4.13'
testCompile 'junit:junit:4.12'
testCompile 'org.spockframework:spock-core:1.1-groovy-2.4'
}
}
apply plugin: 'org.openrepose.gradle.plugins.jaxb'
apply plugin: 'java'
test {
testLogging {
outputs.upToDateWhen { false }
showStandardStreams = true
}
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
compileJava.dependsOn xjc
dependencies {
jaxb 'com.sun.xml.bind:jaxb-xjc:2.2.7-b41'
jaxb 'com.sun.xml.bind:jaxb-impl:2.2.7-b41'
jaxb 'javax.xml.bind:jaxb-api:2.2.7'
}
sourceSets {
main {
java {
srcDirs = [
'src/main/java',
'src/main/generated'
]
}
resources {
srcDirs = ['src/main/resources']
}
}
}
jaxb {
xsdDir = 'src/main/resources'
bindingsDir = 'src/main/resources'
xjc {
producesDir = 'src/main/generated'
destinationDir = 'src/main/generated'
generatePackage = 'gov.medicaid.processmanager'
}
}
clean {
delete jaxb.xjc.destinationDir
}