-
Notifications
You must be signed in to change notification settings - Fork 441
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Gabor Bernat
committed
Feb 27, 2016
1 parent
338dcc8
commit e77c8d5
Showing
8 changed files
with
65 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
For a summary of releases and the changes in each release, please see: | ||
|
||
https://github.com/briandilley/jsonrpc4j/releases |
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 |
---|---|---|
|
@@ -6,9 +6,18 @@ plugins { | |
id 'build-announcements' | ||
id "nebula.optional-base" version "3.0.3" | ||
id "nebula.provided-base" version "3.0.3" | ||
id "nebula.info" version "3.0.3" | ||
id "nebula.nebula-javadoc-jar" version "2.2.2" | ||
id "nebula.nebula-source-jar" version "2.2.2" | ||
id "com.github.ben-manes.versions" version "0.12.0" | ||
id 'maven-publish' | ||
id "com.jfrog.bintray" version "1.6" | ||
} | ||
|
||
description = 'This project aims to provide the facility to easily implement JSON-RPC for the java programming language.' | ||
version = '1.3.0-rc2' | ||
group = 'com.github.briandilley.jsonrpc4j' | ||
|
||
sourceCompatibility = 1.7 | ||
targetCompatibility = 1.8 | ||
|
||
|
@@ -67,3 +76,47 @@ jacocoTestReport { | |
html.destination "${buildDir}/jacocoHtml" | ||
} | ||
} | ||
|
||
|
||
publishing { | ||
publications { | ||
jar(MavenPublication) { | ||
from components.java | ||
} | ||
javadoc(MavenPublication) { // if maven-publish is applied | ||
artifact tasks.javadocJar | ||
} | ||
source(MavenPublication) { | ||
artifact tasks.sourceJar | ||
} | ||
} | ||
} | ||
|
||
bintray { | ||
user = project.hasProperty('user') ? project.property('user') : 'not_set' | ||
key = project.hasProperty('key') ? project.property('keye') : 'not_set' | ||
dryRun = false | ||
publish = true | ||
pkg { | ||
repo = 'maven' | ||
name = 'com.github.briandilley.jsonrpc4j:jsonrpc4j' | ||
desc = project.description | ||
licenses = ['MIT'] | ||
publications = ['jar', 'javadoc', 'source'] | ||
websiteUrl = 'https://briandilley.github.io/jsonrpc4j' | ||
issueTrackerUrl = 'https://github.com/briandilley/jsonrpc4j/issues' | ||
vcsUrl = '[email protected]:briandilley/jsonrpc4j.git' | ||
labels = ['json', 'rpc', 'java'] | ||
publicDownloadNumbers = true | ||
githubRepo = 'briandilley/jsonrpc4j' | ||
githubReleaseNotesFile = 'README.md' | ||
version { | ||
gpg { | ||
sign = true | ||
} | ||
name = project.version | ||
vcsTag = project.version | ||
released = new Date() | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
public @interface JsonRpcErrors { | ||
|
||
/** | ||
* The errors. | ||
* @return the errors list. | ||
*/ | ||
JsonRpcError[] value(); | ||
} |
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
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