forked from bwaldvogel/mongo-java-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
131 lines (106 loc) · 3.48 KB
/
Copy pathbuild.gradle
File metadata and controls
131 lines (106 loc) · 3.48 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
allprojects {
apply plugin: 'java'
apply plugin: 'eclipse'
version = '1.6.0'
group = 'de.bwaldvogel'
sourceCompatibility = 1.7
compileJava.options.encoding = 'UTF-8'
ext {
nettyVersion = '4.0.34.Final'
mongoJavaDriverVersion = '3.2.2'
h2Version = '1.4.191'
springVersion = '4.2.5.RELEASE'
springDataMongoDbVersion = '1.8.4.RELEASE'
slf4jVersion = '1.7.18'
junitVersion = '4.12'
festAssertVersion = '1.4'
powerMockVersion = '1.6.4'
powerMockClassExtensionVersion = '3.2'
logbackVersion = '1.1.6'
}
repositories {
mavenCentral()
}
dependencies {
compile group: 'org.slf4j', name: 'slf4j-api', version: slf4jVersion
testCompile group: 'junit', name: 'junit', version: junitVersion
testCompile group: 'org.easytesting', name: 'fest-assert', version: festAssertVersion
testCompile group: 'org.powermock', name: 'powermock-api-easymock', version: powerMockVersion
testCompile group: 'org.easymock', name: 'easymockclassextension', version: powerMockClassExtensionVersion
testRuntime group: 'ch.qos.logback', name: 'logback-classic', version: logbackVersion
testRuntime group: 'org.slf4j', name: 'jcl-over-slf4j', version: slf4jVersion
}
task copyEclipseSettings(type: Copy) {
from rootProject.file('eclipse/settings')
into project.file('.settings')
include 'org.eclipse.*.prefs'
}
tasks["eclipse"].dependsOn copyEclipseSettings
}
// https://github.com/bmuschko/gradle-nexus-plugin
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'org.gradle.api.plugins:gradle-nexus-plugin:0.7.1'
classpath 'org.standardout:gradle-versioneye-plugin:1.2.0'
}
}
ext {
title = 'mongo-java-server'
url = 'https://www.github.com/bwaldvogel/mongo-java-server'
}
jar {
manifest {
attributes 'Implementation-Title': title, 'Implementation-Version': version
}
}
allprojects {
apply plugin: 'nexus'
apply plugin: 'org.standardout.versioneye'
def projectName = project.name
modifyPom {
project {
groupId 'de.bwaldvogel'
artifactId projectName
name title
description 'Stub implementation of MongoDB in Java that speaks the wire protocol.'
url url
inceptionYear '2012'
scm {
url 'git@github.com:bwaldvogel/mongo-java-server.git'
connection 'scm:git:git@github.com:bwaldvogel/mongo-java-server.git'
developerConnection 'scm:git:git@github.com:bwaldvogel/mongo-java-server.git'
}
licenses {
license {
name 'The BSD License'
url 'http://www.opensource.org/licenses/bsd-license.php'
distribution 'repo'
}
}
developers {
developer {
id 'bwaldvogel'
name 'Benedikt Waldvogel'
email 'mail@bwaldvogel.de'
}
}
}
}
nexus {
attachSources = true
attachTests = false
attachJavadoc = true
sign = true
}
}
task wrapper(type: Wrapper) {
gradleVersion = '2.11'
}
dependencies {
compile project(':mongo-java-server-core')
compile project(':mongo-java-server-memory-backend')
}
// vim: set ts=4 sw=4 et: