Skip to content

Commit e8c2028

Browse files
authored
Release 19.3.1 (#430)
* Update dependency versions * Add changelog for v19.3.1 * documentation fixes * CI: require latest android libraries
1 parent ada3df5 commit e8c2028

File tree

7 files changed

+51
-30
lines changed

7 files changed

+51
-30
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ android:
44
- tools
55
- platform-tools
66
- tools
7-
- build-tools-27.0.3
8-
- android-27
7+
- build-tools-28.0.3
8+
- android-28
99
licenses:
1010
- 'android-sdk-preview-license-.+'
1111
- 'android-sdk-license-.+'

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# Release v19.3.1
2+
3+
* MISC: Update dependency versions
4+
* FIX: Netty: call onDisconnect when crossbar not reachable (#418)
5+
* MISC: Remove legacy files (#416)
6+
* FIX: dont send null CloseDetails on transport lost in netty implementation (#414)
7+
* FIX: Fix typo in readStateListener adder (#413)
8+
* NEW: Build (and publish) Android aar as part of the CI (#409)
9+
* NEW: add preliminary WAMP-over-RawSocket implementation (#406)
10+
11+
---
12+
113
# Release v18.5.2
214

315
* FIX: Don't call onLeave listener twice in case of normal GoodBye (#405)

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
BUILD_DATE=$(shell date -u +"%Y-%m-%d")
2-
AUTOBAHN_JAVA_VERSION='18.5.2'
2+
AUTOBAHN_JAVA_VERSION='19.3.1'
33
AUTOBAHN_JAVA_VCS_REF='unknown'
44

55
default:

autobahn/build.gradle

Lines changed: 28 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ def relVersion = System.getenv().containsKey('AUTOBAHN_BUILD_VERSION') ? System.
1515
def siteUrl = 'https://github.com/crossbario/autobahn-java'
1616

1717
dependencies {
18-
api 'com.fasterxml.jackson.core:jackson-core:2.9.5'
18+
api 'com.fasterxml.jackson.core:jackson-core:2.9.8'
1919
//api 'net.sourceforge.streamsupport:streamsupport-cfuture:1.6.2'
20-
implementation 'com.fasterxml.jackson.core:jackson-databind:2.9.5'
21-
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.9.5'
20+
implementation 'com.fasterxml.jackson.core:jackson-databind:2.9.8'
21+
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.9.8'
2222
implementation 'org.msgpack:jackson-dataformat-msgpack:0.8.16'
2323
if (project.IS_ANDROID) {
24-
implementation 'com.github.joshjdevl.libsodiumjni:libsodium-jni-aar:1.0.8'
24+
implementation 'com.github.joshjdevl.libsodiumjni:libsodium-jni-aar:2.0.1'
2525
} else {
26-
implementation 'com.github.joshjdevl.libsodiumjni:libsodium-jni:1.0.8'
27-
implementation 'io.netty:netty-codec-http:4.1.24.Final'
28-
implementation 'io.netty:netty-handler:4.1.24.Final'
26+
implementation 'com.github.joshjdevl.libsodiumjni:libsodium-jni:2.0.1'
27+
implementation 'io.netty:netty-codec-http:4.1.34.Final'
28+
implementation 'io.netty:netty-handler:4.1.34.Final'
2929
}
3030
}
3131

@@ -63,11 +63,11 @@ bintray {
6363

6464
if (project.IS_ANDROID) {
6565
android {
66-
compileSdkVersion 27
67-
buildToolsVersion '27.0.3'
66+
compileSdkVersion 28
67+
buildToolsVersion '28.0.3'
6868
defaultConfig {
6969
minSdkVersion 24
70-
targetSdkVersion 27
70+
targetSdkVersion 28
7171
}
7272
buildTypes {
7373
release {
@@ -97,9 +97,15 @@ if (project.IS_ANDROID) {
9797
}
9898

9999
task javadoc(type: Javadoc) {
100+
failOnError false
100101
source = android.sourceSets.main.java.srcDirs
101102
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
102103
}
104+
afterEvaluate {
105+
javadoc.classpath += files(android.libraryVariants.collect { variant ->
106+
variant.javaCompile.classpath.files
107+
})
108+
}
103109
project.archivesBaseName = project.BUILD_LEGACY ? ARTIFACT_ANDROID_LEGACY: ARTIFACT_ANDROID
104110
group = groupID
105111
version = relVersion
@@ -138,6 +144,10 @@ if (project.IS_ANDROID) {
138144
}
139145
}
140146
}
147+
task javadocJar(type: Jar, dependsOn: javadoc) {
148+
classifier = 'javadoc'
149+
from javadoc.destinationDir
150+
}
141151
} else {
142152
// Create the pom configuration:
143153
def pomConfig = {
@@ -159,6 +169,14 @@ if (project.IS_ANDROID) {
159169
url siteUrl
160170
}
161171
}
172+
task sourcesJar(type: Jar, dependsOn: classes) {
173+
classifier = 'sources'
174+
from sourceSets.main.allSource
175+
}
176+
task javadocJar(type: Jar, dependsOn: javadoc) {
177+
classifier = 'javadoc'
178+
from javadoc.destinationDir
179+
}
162180
publishing {
163181
publications {
164182
mavenJava(MavenPublication) {
@@ -179,10 +197,6 @@ if (project.IS_ANDROID) {
179197
}
180198
}
181199
}
182-
task sourcesJar(type: Jar, dependsOn: classes) {
183-
classifier = 'sources'
184-
from sourceSets.main.allSource
185-
}
186200
sourceSets {
187201
main {
188202
java {
@@ -199,11 +213,6 @@ if (project.IS_ANDROID) {
199213
targetCompatibility = JavaVersion.VERSION_1_8
200214
}
201215

202-
task javadocJar(type: Jar, dependsOn: javadoc) {
203-
classifier = 'javadoc'
204-
from javadoc.destinationDir
205-
}
206-
207216
artifacts {
208217
archives sourcesJar
209218
archives javadocJar

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ buildscript {
1717
jcenter()
1818
}
1919
dependencies {
20-
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.0'
20+
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
2121
}
2222
// Android specific dependencies.
2323
if (project.properties.get('buildPlatform', 'android') == 'android') {
2424
dependencies {
25-
classpath 'com.android.tools.build:gradle:3.1.3'
26-
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
25+
classpath 'com.android.tools.build:gradle:3.3.2'
26+
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
2727
}
2828
}
2929
}

demo-gallery/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ apply plugin: project.PLATFORM == project.PLATFORM_NETTY ? project.PLUGIN_JAVA_A
22

33
if (plugins.hasPlugin(project.PLUGIN_ANDROID_APP)) {
44
android {
5-
compileSdkVersion 27
6-
buildToolsVersion '27.0.3'
5+
compileSdkVersion 28
6+
buildToolsVersion '28.0.3'
77

88
defaultConfig {
99
minSdkVersion 24
10-
targetSdkVersion 27
10+
targetSdkVersion 28
1111
}
1212
buildTypes {
1313
release {
@@ -32,7 +32,7 @@ if (plugins.hasPlugin(project.PLUGIN_ANDROID_APP)) {
3232

3333
dependencies {
3434
implementation project(path: ':autobahn')
35-
implementation 'com.android.support:appcompat-v7:27.1.1'
35+
implementation 'com.android.support:appcompat-v7:28.0.0'
3636
}
3737
} else {
3838
mainClassName = 'io.crossbar.autobahn.demogallery.netty.Main'

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip

0 commit comments

Comments
 (0)