Skip to content

Commit

Permalink
beta2
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Presman committed May 13, 2016
1 parent 0dba47d commit 05e69c7
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@

05-10-16 - 4.0.0-beta2
- reworking of message queue
- checkstyle, findbugs
- reworking error notifications

05-02-16 - 4.0.0-beta1
- initial beta1

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
[![Download](https://api.bintray.com/packages/bintray/jcenter/com.pubnub%3Apubnub/images/download.svg)](https://bintray.com/bintray/jcenter/com.pubnub%3Apubnub/_latestVersion)
[![Maven Central](https://img.shields.io/maven-central/v/com.pubnub/pubnub.svg)]()

### [Documentation](https://gist.github.com/MaxPresman/5a457ccbd85b33d65c9ee98aaad8311e)
### [Documentation](https://www.pubnub.com/docs/java/pubnub-java-sdk-v4)


17 changes: 17 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id 'io.franzbecker.gradle-lombok' version '1.6'
id 'com.github.johnrengelman.shadow' version '1.2.3'
id "com.bmuschko.nexus" version "2.3.1"
id 'java'
id 'jacoco'
id 'maven'
Expand Down Expand Up @@ -57,6 +58,10 @@ checkstyle {
toolVersion = '6.17'
}

task myJavadocs(type: Javadoc) {
source = sourceSets.main.allJava
}

tasks.withType(Checkstyle) {

exclude '**/vendor/**', "**/PubNubError.java", "**/*Test*"
Expand All @@ -82,3 +87,15 @@ check.dependsOn jacocoTestReport
processResources {
expand projectVersion: project.version
}

extraArchive {
sources = true
tests = true
javadoc = true
}

nexus {
sign = true
repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots'
}
6 changes: 3 additions & 3 deletions src/main/java/com/pubnub/api/PubNubError.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
@Builder
public class PubNubError {

public final int errorCode;
public final int errorCodeExtended;
public final JsonNode errorObject;
private final int errorCode;
private final int errorCodeExtended;
private final JsonNode errorObject;
/**
* includes a message from the thrown exception (if any.)
*/
Expand Down

0 comments on commit 05e69c7

Please sign in to comment.