forked from opsgenie/opsgenie-configuration-backup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
executable file
·48 lines (39 loc) · 1.15 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
apply plugin: 'java'
apply plugin: 'maven'
group 'com.opsgenie.tools'
version '0.23.1'
sourceCompatibility = 1.6
targetCompatibility = 1.6
repositories {
mavenLocal()
mavenCentral()
jcenter()
}
apply plugin: 'java'
apply plugin: 'project-report'
task sourcesJar(type: Jar) {
classifier 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar, dependsOn: 'javadoc') {
classifier 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives sourcesJar
archives javadocJar
}
jar {
manifest {
attributes("Built-By": "http://www.opsgenie.com",
"Specification-Title": "OpsGenie Configuration Backup Tool",
"Specification-Product": "opsgenie-configuration-backup",
"Specification-Version": project.version,
"Specification-Vendor": "http://www.opsgenie.com",
"Implementation-Title": "OpsGenie Configuration Backup Tool",
"Implementation-Product": "opsgenie-configuration-backup",
"Implementation-Vendor": "http://www.opsgenie.com",
"Implementation-Version": project.version,
)
}
}