blob: a51ec4b70bcc51d09a6f2223f718e2f414f3e021 (
plain)
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
|
apply plugin: 'com.bmuschko.nexus'
project.afterEvaluate {
uploadArchives {
repositories {
mavenDeployer {
uniqueVersion = false
}
}
}
}
modifyPom {
// Closure to configure all the POM with extra info, common to all projects
project {
name "${project.name}"
description "Java C Preprocessor"
developers {
developer {
id 'shevek'
name 'Shevek'
email 'github@anarres.org'
}
}
licenses {
license {
name 'The Apache Software License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
distribution 'repo'
}
}
url "https://github.com/shevek/${rootProject.githubProjectName}"
scm {
connection "scm:git:git@github.com:shevek/${rootProject.githubProjectName}.git"
url "scm:git:git@github.com:shevek/${rootProject.githubProjectName}.git"
developerConnection "scm:git:git@github.com:shevek/${rootProject.githubProjectName}.git"
}
issueManagement {
system 'github'
url "https://github.com/shevek/${rootProject.githubProjectName}/issues"
}
}
}
|