diff options
author | Joffrey Bion <joffrey.bion@gmail.com> | 2021-09-06 18:39:17 +0200 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@gmail.com> | 2021-09-06 18:59:49 +0200 |
commit | 2f1e35afed79c3de52a2d4e026d80d851669ce53 (patch) | |
tree | 0da72676b43c54f6f5ec788656fac0351e88d206 /sw-server | |
parent | Upgrade Gradle wrapper to 7.2 (diff) | |
download | seven-wonders-2f1e35afed79c3de52a2d4e026d80d851669ce53.tar.gz seven-wonders-2f1e35afed79c3de52a2d4e026d80d851669ce53.tar.bz2 seven-wonders-2f1e35afed79c3de52a2d4e026d80d851669ce53.zip |
Extract common dependency versions to versions catalog
Diffstat (limited to 'sw-server')
-rw-r--r-- | sw-server/build.gradle.kts | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/sw-server/build.gradle.kts b/sw-server/build.gradle.kts index 445ae4d8..832ce912 100644 --- a/sw-server/build.gradle.kts +++ b/sw-server/build.gradle.kts @@ -8,15 +8,14 @@ plugins { apply(plugin = "io.spring.dependency-management") dependencies { - implementation(project(":sw-common-model")) - implementation(project(":sw-engine")) - implementation(project(":sw-bot")) + implementation(projects.swCommonModel) + implementation(projects.swEngine) + implementation(projects.swBot) implementation(kotlin("reflect")) // required by Spring 5 - val coroutinesVersion = "1.4.2" - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion") - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-reactor:$coroutinesVersion") // for Spring - implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.0.1") + implementation(libs.kotlinx.coroutines.core) + implementation(libs.kotlinx.coroutines.reactor) // for Spring + implementation(libs.kotlinx.serialization.json) implementation("org.springframework.boot:spring-boot-starter-websocket") implementation("org.springframework.boot:spring-boot-starter-security") @@ -24,16 +23,16 @@ dependencies { implementation("org.springframework.security:spring-security-messaging") // logging - implementation("ch.qos.logback:logback-classic:1.2.3") - implementation("com.github.loki4j:loki-logback-appender:1.0.0") + implementation(libs.logback.classic) + implementation(libs.loki.logback.appender) // monitoring / metrics implementation("org.springframework.boot:spring-boot-starter-actuator") - implementation("io.micrometer:micrometer-registry-prometheus:1.6.1") + implementation(libs.micrometer.registry.prometheus) testImplementation(kotlin("test")) testImplementation(kotlin("test-junit")) - testImplementation(project(":sw-client")) + testImplementation(projects.swClient) testImplementation("org.springframework.boot:spring-boot-starter-test") } |