aboutsummaryrefslogtreecommitdiffstats
path: root/gradle/nexus.gradle
diff options
context:
space:
mode:
authorShevek <[email protected]>2014-12-03 00:01:47 -0800
committerShevek <[email protected]>2014-12-03 00:01:47 -0800
commita3306f269ec75a617f7bf4ee6a292a961ba2c1f5 (patch)
tree59b477b295579dfd60d4de301ff475ce999c1744 /gradle/nexus.gradle
parent28c3704abb4f98989d6aa57dc1395df99a77f7d2 (diff)
SourceChangeEvent now uses an enum.
-> gradle 2.2.1
Diffstat (limited to 'gradle/nexus.gradle')
-rw-r--r--gradle/nexus.gradle45
1 files changed, 45 insertions, 0 deletions
diff --git a/gradle/nexus.gradle b/gradle/nexus.gradle
new file mode 100644
index 0000000..d03f2a3
--- /dev/null
+++ b/gradle/nexus.gradle
@@ -0,0 +1,45 @@
+subprojects {
+ 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'
+ }
+ }
+ 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:[email protected]:shevek/${rootProject.githubProjectName}.git"
+ url "scm:git:[email protected]:shevek/${rootProject.githubProjectName}.git"
+ developerConnection "scm:git:[email protected]:shevek/${rootProject.githubProjectName}.git"
+ }
+ issueManagement {
+ system 'github'
+ url "https://github.com/shevek/${rootProject.githubProjectName}/issues"
+ }
+ }
+ }
+}