Skip to content

Commit

Permalink
chore: add ktor dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomoaccursi committed Feb 28, 2023
1 parent 7a2c397 commit 8a2880b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,21 @@ group = "io.github.smartoperatingblock"

repositories {
mavenCentral()
maven { url = uri("https://maven.pkg.jetbrains.space/public/p/ktor/eap") }
}

dependencies {
implementation(libs.kotlin.stdlib)
implementation(libs.google.gson)
implementation(libs.azure.identity)
implementation(libs.azure.digitaltwins)
implementation(libs.ktor.core)
implementation(libs.ktor.netty)
testImplementation(libs.bundles.kotlin.testing)
}

application {
mainClass.set("AppKt")
mainClass.set("io.ktor.server.netty.EngineMain")
}

kotlin {
Expand Down
3 changes: 3 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[versions]
kotlin = "1.8.10"
kotest = "5.5.5"
ktor = "2.2.3"

[libraries]
google-gson = { module = "com.google.code.gson:gson", version = "2.10.1" }
Expand All @@ -10,6 +11,8 @@ kotest-assertions-core = { module = "io.kotest:kotest-assertions-core", version.
kotest-assertions-core-jvm = { module = "io.kotest:kotest-assertions-core-jvm", version.ref = "kotest" }
azure-identity = { module = "com.azure:azure-identity", version = "1.8.0" }
azure-digitaltwins = { module = "com.azure:azure-digitaltwins-core", version = "1.3.6" }
ktor-core = { module = "io.ktor:ktor-server-core", version.ref = "ktor" }
ktor-netty = { module = "io.ktor:ktor-server-netty", version.ref = "ktor" }

[bundles]
kotlin-testing = ["kotest-junit5", "kotest-assertions-core", "kotest-assertions-core-jvm"]
Expand Down
File renamed without changes.

0 comments on commit 8a2880b

Please sign in to comment.