добавлен пример на NIO
This commit is contained in:
19
examples/socket/Get server info/build.gradle
Normal file
19
examples/socket/Get server info/build.gradle
Normal file
@@ -0,0 +1,19 @@
|
||||
plugins {
|
||||
id 'java'
|
||||
}
|
||||
|
||||
compileJava {
|
||||
sourceCompatibility = 1.8
|
||||
targetCompatibility = 1.8
|
||||
options.encoding = 'UTF-8'
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
maven { url 'https://dmx-mc-project.gitlab.io/maven-repository/' }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile 'mc-project:mc-protocol:0.1'
|
||||
}
|
||||
Reference in New Issue
Block a user