diff --git a/build.gradle b/build.gradle index 20e1136..08304b9 100644 --- a/build.gradle +++ b/build.gradle @@ -58,7 +58,6 @@ dependencies { implementation "io.ktor:ktor-client-core-jvm:$ktor_version" implementation "io.ktor:ktor-client-apache:$ktor_version" implementation "io.ktor:ktor-auth:$ktor_version" - testImplementation "io.ktor:ktor-server-tests:$ktor_version" } kotlin.experimental.coroutines = 'enable' diff --git a/gradle.properties b/gradle.properties index a6f0c66..a1c1bc9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ -ktor_version=1.3.2 +ktor_version=1.4.2 kotlin.code.style=official -kotlin_version=1.3.72 +kotlin_version=1.4.10 logback_version=1.2.1 -koin_version=2.1.5 \ No newline at end of file +koin_version=2.2.0 \ No newline at end of file diff --git a/src/Application.kt b/src/Application.kt index bc4f6e8..2a87878 100644 --- a/src/Application.kt +++ b/src/Application.kt @@ -39,6 +39,7 @@ fun Application.module() { SchemaUtils.create(ResultObjects) } + val appConfig = HoconApplicationConfig(ConfigFactory.load()) val factory = ConnectionFactory() factory.host = appConfig.property("ktor.mq.host").getString()