-
Notifications
You must be signed in to change notification settings - Fork 209
Expand file tree
/
Copy pathbuild.gradle
More file actions
96 lines (81 loc) · 2.27 KB
/
Copy pathbuild.gradle
File metadata and controls
96 lines (81 loc) · 2.27 KB
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
apply plugin: 'groovy'
apply plugin: 'java'
repositories {
maven { url "https://jitpack.io" }
}
description = 'micro-couchbase'
dependencies {
compile group: 'com.couchbase.client', name: 'couchbase-client', version:'1.4.8'
compile project(':micro-manifest-comparator')
compile project(':micro-core')
compile project(':micro-guava')
compile project(':micro-events')
testCompile group: 'org.codehaus.groovy', name: 'groovy-all', version:'2.3.3'
testCompile(group: 'org.spockframework', name: 'spock-core', version:'0.7-groovy-2.0') { exclude(module: 'groovy-all') }
testCompile group: 'com.cyrusinnovation', name: 'mockito-groovy-support', version:'1.3'
testCompile 'cglib:cglib-nodep:2.2'
testCompile 'com.github.johnmcclean-aol:couchbasemock:master'
testCompile group: 'org.hamcrest', name: 'hamcrest-all', version:hamcrestVersion
testCompile project(':micro-grizzly-with-jersey')
}
sourceSets {
main {
java { srcDirs = ['src/main/java']}
resources { srcDir 'src/main/resources' }
}
test {
java { srcDirs = []}
groovy { srcDirs = ['src/test/java'] }
resources { srcDir 'src/test/resources' }
}
}
modifyPom {
project {
name 'Microserver couchbase'
description 'Opinionated rest microservices'
url 'https://github.com/aol/micro-server'
inceptionYear '2015'
groupId 'com.aol.microservices'
artifactId 'micro-couchbase'
version "$version"
scm {
url 'scm:git@github.com:aol/micro-server.git'
connection 'scm:git@github.com:aol/micro-server.git'
developerConnection 'scm:git@github.com:aol/micro-server.git'
}
licenses {
license {
name 'The Apache Software License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
distribution 'repo'
}
}
developers {
developer {
id 'johnmcclean-aol'
name 'John McClean'
email 'john.mcclean@teamaol.com'
}
developer {
id 'kewangie'
name 'Ke Wang'
email 'ke.wang@teamaol.com'
}
developer {
id 'pbujko'
name 'Przemyslaw Bujko'
email 'przemyslaw.bujko@teamaol.com'
}
}
}
}
extraArchive {
sources = true
tests = true
javadoc = true
}
nexus {
sign = true
repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2'
snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots'
}