-
Notifications
You must be signed in to change notification settings - Fork 5
/
maven.gradle
52 lines (44 loc) · 1.23 KB
/
maven.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
apply plugin: 'maven'
project.ext.innerPom = { // used by mavenInstaller
project {
packaging 'jar'
version cgVersion
groupId cgGroup
artifactId project.name
name project.name
description cgDescription
url cgWebsite
licenses {
license {
name 'The Apache Software License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
developers {
developer {
name 'Klaus Lehner'
organizationUrl 'https://www.catalysts.cc'
}
developer {
name 'Thomas Scheinecker'
organizationUrl 'https://www.catalysts.cc'
}
}
// http://central.sonatype.org/pages/requirements.html
scm {
connection "scm:git:${cgGit}"
developerConnection "scm:git:${cgGit}"
url cgWebsite
}
issueManagement {
url cgTracker
}
}
}
project.ext.pomXml = pom innerPom // used by mavenJava publication in artifactory
install {
repositories.mavenInstaller {
// will not work with just pomXml
pom innerPom
}
}