Skip to content

Commit

Permalink
Added the rest of PR #236
Browse files Browse the repository at this point in the history
  • Loading branch information
ndw committed Aug 14, 2016
1 parent 0056eda commit 67681dc
Showing 1 changed file with 49 additions and 40 deletions.
89 changes: 49 additions & 40 deletions build.gradle
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -427,6 +427,54 @@ gradle.taskGraph.whenReady { taskGraph ->
} }
} }


def mavenPom = {
name 'XML Calabash'
packaging 'jar'
description 'An XProc 1.0 processor'
url 'https://github.com/ndw/xmlcalabash1'

scm {
url 'scm:git@github.com:ndw/xmlcalabash1.git'
connection 'scm:git@github.com:ndw/xmlcalabash1.git'
developerConnection 'scm:git@github.com:ndw/xmlcalabash1.git'
}

licenses {
license {
name 'Common Development and Distribution License (CDDL) version 1.0'
url 'http://www.opensource.org/licenses/cddl1.txt'
distribution 'repo'
}
license {
name 'GNU General Public License version 2'
url 'http://www.gnu.org/licenses/gpl-2.0.txt'
distribution 'repo'
}
}

developers {
developer {
id 'ndw'
name 'Norman Walsh'
}
}

repositories {
repository {
id 'restlet'
url 'http://maven.restlet.org'
}
}
}

install {
repositories {
mavenInstaller {
pom.project(mavenPom)
}
}
}

uploadArchives { uploadArchives {
repositories { repositories {
mavenDeployer { mavenDeployer {
Expand All @@ -442,46 +490,7 @@ uploadArchives {
authentication(userName: sonatypeUsername, password: sonatypePassword) authentication(userName: sonatypeUsername, password: sonatypePassword)
} }


pom.project { pom.project(mavenPom)
name 'XML Calabash'
packaging 'jar'
description 'An XProc 1.0 processor'
url 'https://github.com/ndw/xmlcalabash1'

scm {
url 'scm:git@github.com:ndw/xmlcalabash1.git'
connection 'scm:git@github.com:ndw/xmlcalabash1.git'
developerConnection 'scm:git@github.com:ndw/xmlcalabash1.git'
}

licenses {
license {
name 'Common Development and Distribution License (CDDL) version 1.0'
url 'http://www.opensource.org/licenses/cddl1.txt'
distribution 'repo'
}
license {
name 'GNU General Public License version 2'
url 'http://www.gnu.org/licenses/gpl-2.0.txt'
distribution 'repo'
}
}

repositories {
repository {
id 'maven-restlet'
name 'Public online Restlet repository'
url 'http://maven.restlet.org'
}
}

developers {
developer {
id 'ndw'
name 'Norman Walsh'
}
}
}
} }
} }
} }

0 comments on commit 67681dc

Please sign in to comment.