From d22a757a86107ee35a64e1eb23282770cdd901dd Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Wed, 5 May 2021 20:50:18 +0200 Subject: build: Use type-safe project accessors This change updates the build scripts to use type-safe project accessors when specifying build dependencies between modules. --- opendc-compute/opendc-compute-simulator/build.gradle.kts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'opendc-compute/opendc-compute-simulator') diff --git a/opendc-compute/opendc-compute-simulator/build.gradle.kts b/opendc-compute/opendc-compute-simulator/build.gradle.kts index 3bf8a114..0d0a57ad 100644 --- a/opendc-compute/opendc-compute-simulator/build.gradle.kts +++ b/opendc-compute/opendc-compute-simulator/build.gradle.kts @@ -30,14 +30,14 @@ plugins { } dependencies { - api(platform(project(":opendc-platform"))) - api(project(":opendc-compute:opendc-compute-service")) - api(project(":opendc-simulator:opendc-simulator-compute")) - api(project(":opendc-simulator:opendc-simulator-failures")) - implementation(project(":opendc-utils")) + api(platform(projects.opendcPlatform)) + api(projects.opendcCompute.opendcComputeService) + api(projects.opendcSimulator.opendcSimulatorCompute) + api(projects.opendcSimulator.opendcSimulatorFailures) + implementation(projects.opendcUtils) implementation("io.github.microutils:kotlin-logging") - testImplementation(project(":opendc-simulator:opendc-simulator-core")) - testImplementation(project(":opendc-telemetry:opendc-telemetry-sdk")) + testImplementation(projects.opendcSimulator.opendcSimulatorCore) + testImplementation(projects.opendcTelemetry.opendcTelemetrySdk) testRuntimeOnly("org.slf4j:slf4j-simple:${versions.slf4j}") } -- cgit v1.2.3