diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-05-07 11:59:46 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-05-07 12:00:10 +0200 |
| commit | 324d7eccf5892a509dc76c7abcecf20fec09a877 (patch) | |
| tree | a3dd467efdb3f9a4fe02259f479c1211338fd9fc /opendc-workflow | |
| parent | d60e230c29beeeaa825987d5abf43c1e6f450dad (diff) | |
build: Use Gradle version catalog
This change adds support for the Gradle version catalog feature in our
build configuration. This allows us to have a single file,
gradle/libs.versions.toml, which contains all the dependency versions
used in this project.
Diffstat (limited to 'opendc-workflow')
| -rw-r--r-- | opendc-workflow/opendc-workflow-api/build.gradle.kts | 2 | ||||
| -rw-r--r-- | opendc-workflow/opendc-workflow-service/build.gradle.kts | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/opendc-workflow/opendc-workflow-api/build.gradle.kts b/opendc-workflow/opendc-workflow-api/build.gradle.kts index 45657d27..36239d05 100644 --- a/opendc-workflow/opendc-workflow-api/build.gradle.kts +++ b/opendc-workflow/opendc-workflow-api/build.gradle.kts @@ -30,5 +30,5 @@ plugins { dependencies { api(platform(projects.opendcPlatform)) api(projects.opendcCompute.opendcComputeApi) - implementation("io.github.microutils:kotlin-logging") + implementation(libs.kotlin.logging) } 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) } |
