summaryrefslogtreecommitdiff
path: root/opendc-workflow/opendc-workflow-service
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2021-05-07 16:26:10 +0200
committerGitHub <noreply@github.com>2021-05-07 16:26:10 +0200
commit6779f62e6f54b783da348dc1aba248656f7956f7 (patch)
tree068a38613d29bdbd4fe39aee90fde86343c656f3 /opendc-workflow/opendc-workflow-service
parentd60e230c29beeeaa825987d5abf43c1e6f450dad (diff)
parentefea162372be99beb4de90929629c7ebccdb8d84 (diff)
build: Use Gradle version catalog
This pull request updates the Gradle build configuration to use the new version catalog functionality, which allows us to store our dependency versions in a centralized file located at `gradle/libs.versions.toml`. Our previous approach stored the versions in `gradle.properties`. The benefit of this approach however is that (1) it will be supported by Gradle and (2) it allows us to access dependencies safely.
Diffstat (limited to 'opendc-workflow/opendc-workflow-service')
-rw-r--r--opendc-workflow/opendc-workflow-service/build.gradle.kts6
1 files changed, 3 insertions, 3 deletions
diff --git a/opendc-workflow/opendc-workflow-service/build.gradle.kts b/opendc-workflow/opendc-workflow-service/build.gradle.kts
index 8cc66e4c..5e73222c 100644
--- a/opendc-workflow/opendc-workflow-service/build.gradle.kts
+++ b/opendc-workflow/opendc-workflow-service/build.gradle.kts
@@ -35,12 +35,12 @@ dependencies {
api(projects.opendcCompute.opendcComputeApi)
api(projects.opendcTelemetry.opendcTelemetryApi)
implementation(projects.opendcUtils)
- implementation("io.github.microutils:kotlin-logging")
+ implementation(libs.kotlin.logging)
testImplementation(projects.opendcSimulator.opendcSimulatorCore)
testImplementation(projects.opendcCompute.opendcComputeSimulator)
testImplementation(projects.opendcFormat)
testImplementation(projects.opendcTelemetry.opendcTelemetrySdk)
- testImplementation("com.fasterxml.jackson.module:jackson-module-kotlin:${versions["jackson-module-kotlin"]}")
- testRuntimeOnly("org.apache.logging.log4j:log4j-slf4j-impl")
+ testImplementation(libs.jackson.module.kotlin)
+ testRuntimeOnly(libs.log4j.slf4j)
}