Repository navigation
Expand file tree
/
Copy pathbuild.gradle
More file actions
executable file
·90 lines (82 loc) · 2.14 KB
/
Copy pathbuild.gradle
File metadata and controls
executable file
·90 lines (82 loc) · 2.14 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
group = 'com.netuitive'
version = '0.1.25'
ext.shouldSign = project.hasProperty('shouldSign') ? project.getProperty('shouldSign').toBoolean() : false
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.bmuschko:gradle-nexus-plugin:2.3.1'
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'maven'
apply plugin: 'distribution'
apply plugin: 'com.bmuschko.nexus'
repositories {
mavenCentral()
}
test {
useTestNG {
includeGroups 'unit', 'integration'
options {
listeners.add('org.testng.reporters.XMLReporter')
}
}
}
extraArchive {
sources = true
tests = true
javadoc = true
}
nexus {
sign = shouldSign
}
distTar{
from 'build/libs'
}
distZip{
from 'build/libs'
}
modifyPom {
project {
name 'ananke'
packaging 'jar'
artifactId 'ananke'
description 'Java SDK for statsd'
url 'https://github.com/Netuitive/Ananke'
scm {
url 'https://github.com/Netuitive/Ananke.git'
connection 'https://github.com/Netuitive/Ananke.git'
developerConnection 'https://github.com/Netuitive/Ananke.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 'jking13'
name 'John King'
}
}
}
}
sourceCompatibility = 1.6
targetCompatibility = 1.6
dependencies {
compile ("org.projectlombok:lombok:1.16.12")
compile("ch.qos.logback:logback-classic:1.1.7")
testCompile("org.mockito:mockito-core:1.9.5")
testCompile("org.springframework:spring-test:4.0.7.RELEASE")
testCompile("org.testng:testng:6.8.8")
}
task wrapper(type: Wrapper) {
gradleVersion = '2.11'
}