mirror of
https://github.com/heroiclabs/nakama-java.git
synced 2026-11-24 08:55:49 -10:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a06d1c62f5 | ||
|
|
46ba09b80b | ||
|
|
e125f80a13 |
No files matched your search
@@ -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
@@ -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
|
||||
|
||||
Reference in new issue
Block a user