@@ -5,18 +5,18 @@ import com.expediagroup.graphql.plugin.gradle.tasks.GraphQLGenerateClientTask
5
5
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
6
6
import com.github.jengelman.gradle.plugins.shadow.transformers.ServiceFileTransformer
7
7
8
- val ktor_version: String by project
9
- val kotlin_version: String by project
10
- val kotlinx_datetime_version: String by project
11
- val kompendium_version: String by project
12
- val logback_version: String by project
13
- val logstash_version: String by project
14
- val prometeus_version: String by project
15
- val nav_common_version: String by project
16
- val tjenestespec_version: String by project
17
- val modia_common_utils_version: String by project
18
- val junit_version: String by project
19
- val graphql_kotlin_version: String by project
8
+ val ktor_version = " 2.3.12 "
9
+ val kotlin_version = " 2.0.21 "
10
+ val kotlinx_datetime_version = " 0.4.0 "
11
+ val kompendium_version = " 3.14.4 "
12
+ val logback_version = " 1.4.12 "
13
+ val logstash_version = " 7.2 "
14
+ val prometeus_version = " 1.6.3 "
15
+ val nav_common_version = " 2.2023.01.10_13.49-81ddc732df3a "
16
+ val tjenestespec_version = " 1.2020.06.16-14.51-3b45df54f90a "
17
+ val modia_common_utils_version = " 1.2023.07.20-13.43-64707e48b53b "
18
+ val junit_version = " 5.8.2 "
19
+ val graphql_kotlin_version = " 6.4.0 "
20
20
21
21
plugins {
22
22
application
@@ -60,11 +60,14 @@ repositories {
60
60
dependencies {
61
61
implementation(" io.ktor:ktor-server:$ktor_version " )
62
62
implementation(" io.ktor:ktor-server-core:$ktor_version " )
63
+ implementation(" io.ktor:ktor-server-core-jvm:$ktor_version " )
63
64
implementation(" io.ktor:ktor-server-auth:$ktor_version " )
64
65
implementation(" io.ktor:ktor-server-auth-jwt:$ktor_version " )
66
+ implementation(" io.ktor:ktor-server-swagger-jvm:$ktor_version " )
65
67
implementation(" io.ktor:ktor-serialization:$ktor_version " )
66
68
implementation(" io.ktor:ktor-server-netty:$ktor_version " )
67
69
implementation(" io.ktor:ktor-client-core:$ktor_version " )
70
+ implementation(" io.ktor:ktor-client-okhttp-jvm:$ktor_version " )
68
71
implementation(" io.ktor:ktor-client-okhttp:$ktor_version " )
69
72
implementation(" io.ktor:ktor-serialization-kotlinx-json:$ktor_version " )
70
73
implementation(" org.jetbrains.kotlinx:kotlinx-datetime:$kotlinx_datetime_version " )
@@ -83,20 +86,20 @@ dependencies {
83
86
implementation(" ch.qos.logback:logback-classic:$logback_version " )
84
87
implementation(" net.logstash.logback:logstash-logback-encoder:$logstash_version " )
85
88
implementation(" com.expediagroup:graphql-kotlin-ktor-client:$graphql_kotlin_version " )
86
- implementation(" io.ktor:ktor-client-okhttp-jvm:2.3.12" )
87
- implementation(" io.ktor:ktor-server-core-jvm:2.3.12" )
88
- implementation(" io.ktor:ktor-server-swagger-jvm:2.3.12" )
89
89
90
+ testImplementation(kotlin(" test" ))
91
+ testImplementation(" io.ktor:ktor-server-test-host:$ktor_version " )
92
+ testImplementation(" io.ktor:ktor-server-test-host-jvm:$ktor_version " )
93
+ testImplementation(" io.ktor:ktor-client-mock-jvm:$ktor_version " )
90
94
testImplementation(" io.mockk:mockk:1.13.13" )
91
- testImplementation(" io.ktor:ktor-server-tests:2.3.12" )
92
- testImplementation(" io.ktor:ktor-client-mock:$ktor_version " )
93
95
testImplementation(" org.junit.jupiter:junit-jupiter:$junit_version " )
94
96
}
95
97
96
98
tasks.withType<Test > {
97
99
useJUnitPlatform()
98
100
99
- testLogging { // This is for logging and can be removed.
101
+ testLogging {
102
+ // This is for logging and can be removed.
100
103
events(" passed" , " skipped" , " failed" )
101
104
}
102
105
}
0 commit comments