File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed
src/main/java/com/baeldung/ktor Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -5,5 +5,6 @@ This module contains articles about Kotlin Libraries.
5
5
### Relevant articles:
6
6
- [ An Introduction to Running GraphQL in Kotlin and Ktor] ( https://www.baeldung.com/kotlin/graphql-ktor )
7
7
- [ Creating a Web Application With Ktor and Thymeleaf] ( https://www.baeldung.com/kotlin/ktor-thymeleaf-web-application )
8
+ - [ Kotlin with Ktor] ( https://www.baeldung.com/kotlin/ktor )
8
9
- [ A Look at the Ktor Client] ( https://www.baeldung.com/kotlin/ktor-client )
9
10
- [ Testing Ktor Controllers] ( https://www.baeldung.com/kotlin/ktor-test-controllers )
Original file line number Diff line number Diff line change @@ -30,13 +30,14 @@ dependencies {
30
30
31
31
implementation(" ch.qos.logback" , " logback-classic" , logbackVersion)
32
32
33
+ compile(" io.ktor" , " ktor-gson" ktorVersion)
34
+
33
35
testImplementation(" io.ktor" , " ktor-client-mock" , ktorVersion)
34
36
testImplementation(" io.ktor" , " ktor-server-tests" , ktorVersion)
35
37
36
38
testImplementation(" io.ktor" , " ktor-serialization-kotlinx-json" , ktorVersion)
37
39
testImplementation(" org.jetbrains.kotlin" , " kotlin-test-junit" , kotlinTestUnit)
38
40
testImplementation(" org.seleniumhq.selenium" , " selenium-java" , seleniumVersion)
39
-
40
41
}
41
42
42
43
plugins {
@@ -66,4 +67,9 @@ graphql {
66
67
schemaFile = file(" src/main/resources/client/schema.graphql" )
67
68
serializer = GraphQLSerializer .JACKSON
68
69
}
70
+ }
71
+
72
+ task runServer(type: JavaExec ) {
73
+ main = ' APIServer'
74
+ classpath = sourceSets.main.runtimeClasspath
69
75
}
File renamed without changes.
Original file line number Diff line number Diff line change @@ -8,6 +8,5 @@ This module contains articles about Kotlin Libraries.
8
8
- [ Processing JSON with Kotlin and Klaxson] ( https://www.baeldung.com/kotlin/json-klaxson )
9
9
- [ Guide to the Kotlin Exposed Framework] ( https://www.baeldung.com/kotlin/exposed-persistence )
10
10
- [ Introduction to Arrow in Kotlin] ( https://www.baeldung.com/kotlin/arrow )
11
- - [ Kotlin with Ktor] ( https://www.baeldung.com/kotlin/ktor )
12
11
- [ REST API With Kotlin and Kovert] ( https://www.baeldung.com/kotlin/kovert )
13
12
- More articles: [[ next -->]] ( ../kotlin-libraries-2 )
Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ sourceSets {
47
47
dependencies {
48
48
compile " io.ktor:ktor-server-netty:$ktor_version "
49
49
compile " ch.qos.logback:logback-classic:1.2.1"
50
- compile " io.ktor:ktor-gson:$ktor_version "
51
50
compile " khttp:khttp:$khttp_version "
52
51
testCompile group : ' junit' , name : ' junit' , version : ' 4.12'
53
52
testCompile group : ' org.jetbrains.spek' , name : ' spek-api' , version : ' 1.1.5'
@@ -56,8 +55,3 @@ dependencies {
56
55
implementation ' com.beust:klaxon:3.0.1'
57
56
58
57
}
59
-
60
- task runServer (type : JavaExec ) {
61
- main = ' APIServer'
62
- classpath = sourceSets. main. runtimeClasspath
63
- }
You can’t perform that action at this time.
0 commit comments