forked from stoussaint/spring-data-marklogic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
62 lines (48 loc) · 1.43 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
plugins {
id "io.spring.dependency-management" version "0.6.1.RELEASE"
}
group 'org.springframework.data'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'maven-publish'
sourceCompatibility = 1.8
repositories {
mavenLocal()
jcenter()
maven { url "http://developer.marklogic.com/maven2" }
}
dependencyManagement {
imports {
mavenBom("io.spring.platform:platform-bom:${springBomVersion}")
}
}
dependencies {
compile ("javax.enterprise:cdi-api")
compile ("com.marklogic:marklogic-xcc:8.0.3")
compile ("com.fasterxml.jackson.core:jackson-databind")
compile ("javax.transaction:javax.transaction-api")
compile("org.aspectj:aspectjweaver")
compile ("org.springframework:spring-context")
compile ("org.springframework:spring-tx")
compile ("org.springframework.data:spring-data-commons")
testCompile ("ch.qos.logback:logback-classic")
testCompile ("junit:junit")
testCompile ('org.hamcrest:hamcrest-core')
testCompile ('org.hamcrest:hamcrest-library')
testCompile ("org.mockito:mockito-core")
testCompile ("org.springframework:spring-test")
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
artifact sourceJar {
classifier "sources"
}
}
}
}
task sourceJar(type: Jar) {
from sourceSets.main.allJava
}