This commit is contained in:
parent
204dfcabbc
commit
9793ccc593
@ -58,7 +58,6 @@ dependencies {
|
|||||||
implementation "io.ktor:ktor-client-core-jvm:$ktor_version"
|
implementation "io.ktor:ktor-client-core-jvm:$ktor_version"
|
||||||
implementation "io.ktor:ktor-client-apache:$ktor_version"
|
implementation "io.ktor:ktor-client-apache:$ktor_version"
|
||||||
implementation "io.ktor:ktor-auth:$ktor_version"
|
implementation "io.ktor:ktor-auth:$ktor_version"
|
||||||
testImplementation "io.ktor:ktor-server-tests:$ktor_version"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
kotlin.experimental.coroutines = 'enable'
|
kotlin.experimental.coroutines = 'enable'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
ktor_version=1.3.2
|
ktor_version=1.4.2
|
||||||
kotlin.code.style=official
|
kotlin.code.style=official
|
||||||
kotlin_version=1.3.72
|
kotlin_version=1.4.10
|
||||||
logback_version=1.2.1
|
logback_version=1.2.1
|
||||||
koin_version=2.1.5
|
koin_version=2.2.0
|
@ -39,6 +39,7 @@ fun Application.module() {
|
|||||||
SchemaUtils.create(ResultObjects)
|
SchemaUtils.create(ResultObjects)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
val appConfig = HoconApplicationConfig(ConfigFactory.load())
|
val appConfig = HoconApplicationConfig(ConfigFactory.load())
|
||||||
val factory = ConnectionFactory()
|
val factory = ConnectionFactory()
|
||||||
factory.host = appConfig.property("ktor.mq.host").getString()
|
factory.host = appConfig.property("ktor.mq.host").getString()
|
||||||
|
Loading…
Reference in New Issue
Block a user