forked from 2009Scape/Server
Added new JS5 file server (launcher no longer has to handle cache downloading) - PLEASE SET YOUR CACHE LOCATION IN file-server.properties
Updated client to connect to the new file server
This commit is contained in:
parent
1499814bca
commit
ff3245d225
9 changed files with 469 additions and 1 deletions
37
File-Server/build.gradle
Normal file
37
File-Server/build.gradle
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
apply plugin: 'application'
|
||||
|
||||
archivesBaseName = 'fileserver'
|
||||
|
||||
mainClassName = 'js5server.JS5Server'
|
||||
|
||||
group 'org.rs09'
|
||||
version '1.0.0'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.2'
|
||||
/* Networking */
|
||||
implementation "io.ktor:ktor-server-core:1.5.0"
|
||||
implementation "io.ktor:ktor-network:1.5.0"
|
||||
|
||||
// Cache ops
|
||||
implementation 'com.displee:rs-cache-library:6.8'
|
||||
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0'
|
||||
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
|
||||
}
|
||||
|
||||
test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
jar {
|
||||
manifest {
|
||||
attributes 'Main-Class': 'js5server.JS5Server'
|
||||
}
|
||||
from { configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue