mirror of
https://github.com/andwati/telecom-platform.git
synced 2026-10-28 23:52:15 +00:00
- Add build.gradle.kts with kotlin("jvm") 1.9.10 and kotlin("plugin.serialization") 1.9.10 plugins
- Add group com.telecom version 1.0.0 with maven-publish plugin
- Add kotlinx-coroutines-core 1.7.3 and kotlinx-serialization-json 1.6.0 dependencies
- Add Ktor client dependencies: ktor-client-core, ktor-client-cio, ktor-client-content-negotiation, ktor-serialization-kotlinx-json, ktor-client-websockets all
42 lines
995 B
Kotlin
42 lines
995 B
Kotlin
plugins {
|
|
kotlin("jvm") version "1.9.10"
|
|
kotlin("plugin.serialization") version "1.9.10"
|
|
id("maven-publish")
|
|
}
|
|
|
|
group = "com.telecom"
|
|
version = "1.0.0"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3")
|
|
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0")
|
|
implementation("io.ktor:ktor-client-core:2.3.4")
|
|
implementation("io.ktor:ktor-client-cio:2.3.4")
|
|
implementation("io.ktor:ktor-client-content-negotiation:2.3.4")
|
|
implementation("io.ktor:ktor-serialization-kotlinx-json:2.3.4")
|
|
implementation("io.ktor:ktor-client-websockets:2.3.4")
|
|
|
|
testImplementation("org.jetbrains.kotlin:kotlin-test")
|
|
testImplementation("io.ktor:ktor-client-mock:2.3.4")
|
|
}
|
|
|
|
kotlin {
|
|
jvmToolchain(17)
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
create<MavenPublication>("maven") {
|
|
from(components["java"])
|
|
}
|
|
}
|
|
}
|