mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2025-01-08 19:38:36 +01:00
update deps, use yaml for ktor config
This commit is contained in:
parent
f5adcc7a5b
commit
78d00ce31a
@ -57,8 +57,8 @@ dependencies {
|
|||||||
implementation(kotlin("stdlib-jdk8"))
|
implementation(kotlin("stdlib-jdk8"))
|
||||||
implementation(kotlin("reflect"))
|
implementation(kotlin("reflect"))
|
||||||
|
|
||||||
val vvVer = "4.4.2-SNAPSHOT"
|
val vvVer = "4.4.2"
|
||||||
val vbVer = "4.4.2-SNAPSHOT"
|
val vbVer = "4.4.2"
|
||||||
val vrVer = "f879184"
|
val vrVer = "f879184"
|
||||||
implementation("com.viaversion:viaversion:$vvVer") { isTransitive = false }
|
implementation("com.viaversion:viaversion:$vvVer") { isTransitive = false }
|
||||||
implementation("com.viaversion:viabackwards:$vbVer") { isTransitive = false }
|
implementation("com.viaversion:viabackwards:$vbVer") { isTransitive = false }
|
||||||
@ -75,12 +75,12 @@ dependencies {
|
|||||||
implementation("org.yaml:snakeyaml:1.30")
|
implementation("org.yaml:snakeyaml:1.30")
|
||||||
|
|
||||||
val log4jVer = "2.18.0"
|
val log4jVer = "2.18.0"
|
||||||
val slf4jVer = "1.7.36"
|
val slf4jVer = "2.0.0"
|
||||||
implementation("net.minecrell:terminalconsoleappender:1.3.0")
|
implementation("net.minecrell:terminalconsoleappender:1.3.0")
|
||||||
implementation("org.apache.logging.log4j:log4j-core:$log4jVer")
|
implementation("org.apache.logging.log4j:log4j-core:$log4jVer")
|
||||||
implementation("org.apache.logging.log4j:log4j-iostreams:$log4jVer")
|
implementation("org.apache.logging.log4j:log4j-iostreams:$log4jVer")
|
||||||
implementation("org.apache.logging.log4j:log4j-jul:$log4jVer")
|
implementation("org.apache.logging.log4j:log4j-jul:$log4jVer")
|
||||||
implementation("org.apache.logging.log4j:log4j-slf4j-impl:$log4jVer")
|
implementation("org.apache.logging.log4j:log4j-slf4j18-impl:$log4jVer")
|
||||||
implementation("org.jline:jline-terminal-jansi:3.21.0")
|
implementation("org.jline:jline-terminal-jansi:3.21.0")
|
||||||
implementation("org.slf4j:slf4j-api:$slf4jVer")
|
implementation("org.slf4j:slf4j-api:$slf4jVer")
|
||||||
|
|
||||||
@ -91,6 +91,7 @@ dependencies {
|
|||||||
implementation("io.ktor:ktor-server-caching-headers:$ktorVersion")
|
implementation("io.ktor:ktor-server-caching-headers:$ktorVersion")
|
||||||
implementation("io.ktor:ktor-server-call-logging:$ktorVersion")
|
implementation("io.ktor:ktor-server-call-logging:$ktorVersion")
|
||||||
implementation("io.ktor:ktor-server-compression:$ktorVersion")
|
implementation("io.ktor:ktor-server-compression:$ktorVersion")
|
||||||
|
implementation("io.ktor:ktor-server-config-yaml:$ktorVersion")
|
||||||
implementation("io.ktor:ktor-server-content-negotiation:$ktorVersion")
|
implementation("io.ktor:ktor-server-content-negotiation:$ktorVersion")
|
||||||
implementation("io.ktor:ktor-server-default-headers:$ktorVersion")
|
implementation("io.ktor:ktor-server-default-headers:$ktorVersion")
|
||||||
implementation("io.ktor:ktor-server-forwarded-header:$ktorVersion")
|
implementation("io.ktor:ktor-server-forwarded-header:$ktorVersion")
|
||||||
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,5 +1,5 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
# You can read more about this file: https://ktor.io/docs/configurations.html#hocon-overview
|
|
||||||
ktor {
|
|
||||||
deployment {
|
|
||||||
sslPort = 25543
|
|
||||||
}
|
|
||||||
|
|
||||||
application {
|
|
||||||
modules = [ com.viaversion.aas.VIAaaSKt.mainWeb ]
|
|
||||||
}
|
|
||||||
|
|
||||||
security {
|
|
||||||
ssl {
|
|
||||||
keyStore = config/https.jks
|
|
||||||
keyAlias = mykey
|
|
||||||
keyStorePassword = changeit
|
|
||||||
privateKeyPassword = changeit
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
12
src/main/resources/application.yaml
Normal file
12
src/main/resources/application.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# https://ktor.io/docs/configurations.html#configuration-file
|
||||||
|
ktor:
|
||||||
|
deployment:
|
||||||
|
sslPort: 25543
|
||||||
|
application:
|
||||||
|
modules: [ "com.viaversion.aas.VIAaaSKt.mainWeb" ]
|
||||||
|
security:
|
||||||
|
ssl:
|
||||||
|
keyStore: config/https.jks
|
||||||
|
keyAlias: mykey
|
||||||
|
keyStorePassword: changeit
|
||||||
|
privateKeyPassword: changeit
|
Loading…
Reference in New Issue
Block a user