Compare commits

..
3 Commits
Author SHA1 Message Date
Mo Firouz a06d1c62f5 Nakama-Java 2.0.4 release. 2020-01-23 09:42:24 +00:00
Mo Firouz 46ba09b80b Update to use latest gRPC dependencies. 2020-01-23 09:39:47 +00:00
Mo Firouz e125f80a13 Set new development version. 2019-10-25 15:41:28 +02:00
3 changed files with 12 additions and 7 deletions

No files matched your search

+4
View File
@@ -6,6 +6,10 @@ The format is based on [keep a changelog](http://keepachangelog.com/) and this p
## [Unreleased]
## [2.0.4] - 2020-01-23
### Added
- Updated gRPC, GSON and Lombok dependencies.
## [2.0.3] - 2019-10-25
### Added
- More ways to create a socket connection.
+6 -6
View File
@@ -36,7 +36,7 @@ plugins {
}
group = 'com.heroiclabs.nakama'
version = '2.0.3'
version = '2.0.4'
def description = 'Android optimized Java client for Nakama server.'
def gopath = System.getenv('GOPATH')
sourceCompatibility = 1.7
@@ -51,16 +51,16 @@ repositories {
}
dependencies {
compileOnly 'org.projectlombok:lombok:1.18.2'
compile 'com.google.code.gson:gson:2.8.5'
compileOnly 'org.projectlombok:lombok:1.18.10'
compile 'com.google.code.gson:gson:2.8.6'
compile 'com.google.protobuf:protobuf-lite:3.0.1'
compile ('io.grpc:grpc-okhttp:1.14.0') {
compile ('io.grpc:grpc-okhttp:1.21.0') {
exclude group: 'com.squareup.okio', module:'okio'
}
compile 'com.squareup.okio:okio:1.14.0'
compile 'com.squareup.okhttp3:okhttp:3.11.0'
compile 'io.grpc:grpc-protobuf-lite:1.14.0'
compile 'io.grpc:grpc-stub:1.14.0'
compile 'io.grpc:grpc-protobuf-lite:1.21.0'
compile 'io.grpc:grpc-stub:1.21.0'
compile 'javax.annotation:javax.annotation-api:1.3.2'
compile ('com.google.api.grpc:googleapis-common-protos:0.0.3') {
exclude group: 'io.grpc', module:'grpc-protobuf'
@@ -20,6 +20,7 @@ import com.google.common.io.BaseEncoding;
import com.google.common.util.concurrent.AsyncFunction;
import com.google.common.util.concurrent.Futures;
import com.google.common.util.concurrent.ListenableFuture;
import com.google.common.util.concurrent.MoreExecutors;
import com.google.protobuf.*;
import com.heroiclabs.nakama.api.*;
import io.grpc.ManagedChannel;
@@ -143,7 +144,7 @@ public class DefaultClient implements Client {
final Session result = new DefaultSession(input.getToken(), input.getCreated());
return Futures.immediateFuture(result);
}
});
}, MoreExecutors.directExecutor());
}
@Override