-
Notifications
You must be signed in to change notification settings - Fork 20
/
build.gradle
52 lines (45 loc) · 1.46 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
subprojects {
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'maven'
apply plugin: 'project-report'
sourceCompatibility = 1.8
targetCompatibility = 1.8
group = "com.opsgenie.integration"
version = "2.13.7"
repositories {
mavenCentral()
maven {
url "https://packages.atlassian.com/maven-3rdparty/"
}
}
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 }
}
}
task wrapper(type: Wrapper) {
gradleVersion = '2.2'
}