-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add signing and Maven POM project information
- Loading branch information
Maia Everett
committed
Apr 2, 2016
1 parent
126e391
commit 28cc4af
Showing
2 changed files
with
38 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
apply plugin: 'java' | ||
apply plugin: 'eclipse' | ||
apply plugin: 'maven' | ||
apply plugin: 'signing' | ||
|
||
sourceCompatibility = 1.7 | ||
group = 'org.lucidfox.jpromises' | ||
|
@@ -87,9 +88,15 @@ artifacts { | |
archives gwtSourcesJar | ||
} | ||
|
||
signing { | ||
sign configurations.archives | ||
} | ||
|
||
uploadArchives { | ||
repositories { | ||
mavenDeployer { | ||
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) } | ||
|
||
repository(url: 'file:///home/maia/workspace/promises/jpromises/build/repo/') | ||
|
||
addFilter('default') {artifact, file -> | ||
|
@@ -108,9 +115,37 @@ uploadArchives { | |
distribution 'repo' | ||
} | ||
} | ||
|
||
developers { | ||
developer { | ||
name 'Maia Everett' | ||
email '[email protected]' | ||
url 'http://lucidfox.org' | ||
} | ||
} | ||
|
||
scm { | ||
url 'https://github.com/lucidfox/jpromises' | ||
connection 'https://github.com/lucidfox/jpromises.git' | ||
developerConnection '[email protected]:lucidfox/jpromises.git' | ||
} | ||
|
||
name 'Java Library for Promises' | ||
description 'An implementation of Promises in Java based on the JavaScript Promises/A+ specification,' + | ||
' with adapters for AWT and GWT.' | ||
url 'https://github.com/lucidfox/jpromises' | ||
} | ||
|
||
pom('gwt').project { | ||
name 'Java Library for Promises - GWT module' | ||
description 'An implementation of Promises in Java based on the JavaScript Promises/A+ specification,' + | ||
' with adapters for AWT and GWT. This artifact contains a GWT module with packaged sources.' | ||
url 'https://github.com/lucidfox/jpromises' | ||
} | ||
|
||
pom('gwt').model.licenses = pom('default').model.licenses | ||
pom('gwt').model.developers = pom('default').model.developers | ||
pom('gwt').model.scm = pom('default').model.scm | ||
|
||
pom('gwt').withXml { | ||
// ugh, ugly | ||
|