-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
45 lines (36 loc) · 954 Bytes
/
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
ext.MONGO_VERSION = '2.12.2'
ext.GUAVA_VERSION = '17.0'
ext.SLF4J_VERSION = '1.7.5'
ext.JAVATUPLES_VERSION = '1.1'
subprojects {
apply plugin: 'java'
apply plugin: 'maven'
repositories {
mavenCentral()
}
project.group = 'bo.pic'
project.version = '1.3'
dependencies {
compile 'net.sourceforge.findbugs:jsr305:1.3.7' // @NotNull & @Nullable.
}
task sourcesJar(type: Jar) {
from sourceSets.main.allSource
classifier = 'sources'
}
artifacts {
archives jar
archives sourcesJar
}
uploadArchives {
repositories {
mavenDeployer {
repository(url: System.getProperty('deployUrl')) {
authentication(userName: System.getProperty('deployUser'), password: System.getProperty('deployPassword'))
}
}
}
}
}
task wrapper(type: Wrapper) {
gradleVersion = '2.2'
}