some changes
This commit is contained in:
parent
786617fd33
commit
efa9d576d6
@ -14,6 +14,7 @@ dependencies {
|
|||||||
implementation 'com.google.inject:guice:5.1.0'
|
implementation 'com.google.inject:guice:5.1.0'
|
||||||
implementation 'com.twitter:finagle-http_2.12:22.7.0'
|
implementation 'com.twitter:finagle-http_2.12:22.7.0'
|
||||||
implementation 'com.twitter:finagle-thrift_2.11:21.2.0'
|
implementation 'com.twitter:finagle-thrift_2.11:21.2.0'
|
||||||
|
implementation 'io.netty:netty-transport:4.1.77.Final'
|
||||||
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
|
||||||
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
|
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
|
||||||
}
|
}
|
||||||
|
|||||||
@ -22,6 +22,5 @@ public class Main {
|
|||||||
.codec(Http())
|
.codec(Http())
|
||||||
.name("HttpServer")
|
.name("HttpServer")
|
||||||
.bindTo(new InetSocketAddress("localhost", 5151)));
|
.bindTo(new InetSocketAddress("localhost", 5151)));
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user