forked from opsgenie/opsgenieclient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
56 lines (48 loc) · 1.53 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
subprojects {
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'maven'
apply plugin: 'project-report'
sourceCompatibility = 1.6
targetCompatibility = 1.6
group = "com.opsgenie.client"
version = "2.0.1-SNAPSHOT"
repositories {
mavenCentral()
maven {
url "http://repo.opsgenie.com:9393/content/groups/public/"
}
}
test {
maxHeapSize = '1024m'
ignoreFailures = true
workingDir = project.rootProject.rootDir
filter {
exclude "**/**TestCase**"
}
testLogging.showStandardStreams = true
}
jar {
manifest {
attributes("Built-By": "http://www.opsgenie.com",
"Specification-Title": project.name[0].toUpperCase() + project.name[1..-1],
"Specification-Product": project.name,
"Specification-Version": project.version,
"Specification-Vendor": "http://www.opsgenie.com",
"Implementation-Title" : project.name[0].toUpperCase() + project.name[1..-1],
"Implementation-Product": project.name,
"Implementation-Vendor":"http://www.opsgenie.com",
"Implementation-Version":project.version,
)
}
}
task listJars << {
configurations.compile.sort().each { File file -> println file.name }
}
dependencies {
compile 'log4j:log4j:1.2.16'
}
}
task wrapper(type: Wrapper) {
gradleVersion = '2.2'
}