diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-05-05 20:50:18 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-05-06 14:04:05 +0200 |
| commit | d22a757a86107ee35a64e1eb23282770cdd901dd (patch) | |
| tree | 0f747a501ad1c01f230df8d4f8b25fc7cdeb9c5c /opendc-web/opendc-web-runner/build.gradle.kts | |
| parent | 25e2fd97409311c89030e51e1a78211d335709b9 (diff) | |
build: Use type-safe project accessors
This change updates the build scripts to use type-safe project accessors
when specifying build dependencies between modules.
Diffstat (limited to 'opendc-web/opendc-web-runner/build.gradle.kts')
| -rw-r--r-- | opendc-web/opendc-web-runner/build.gradle.kts | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/opendc-web/opendc-web-runner/build.gradle.kts b/opendc-web/opendc-web-runner/build.gradle.kts index fcc78a83..2981ddc7 100644 --- a/opendc-web/opendc-web-runner/build.gradle.kts +++ b/opendc-web/opendc-web-runner/build.gradle.kts @@ -33,12 +33,12 @@ application { } dependencies { - api(platform(project(":opendc-platform"))) - implementation(project(":opendc-compute:opendc-compute-simulator")) - implementation(project(":opendc-format")) - implementation(project(":opendc-experiments:opendc-experiments-capelin")) - implementation(project(":opendc-simulator:opendc-simulator-core")) - implementation(project(":opendc-simulator:opendc-simulator-compute")) + api(platform(projects.opendcPlatform)) + implementation(projects.opendcCompute.opendcComputeSimulator) + implementation(projects.opendcFormat) + implementation(projects.opendcExperiments.opendcExperimentsCapelin) + implementation(projects.opendcSimulator.opendcSimulatorCore) + implementation(projects.opendcTelemetry.opendcTelemetrySdk) implementation("io.github.microutils:kotlin-logging") implementation("com.github.ajalt.clikt:clikt:${versions["clikt"]}") @@ -48,6 +48,4 @@ dependencies { runtimeOnly("org.apache.logging.log4j:log4j-slf4j-impl:${versions.log4j}") runtimeOnly("org.apache.logging.log4j:log4j-1.2-api:${versions.log4j}") - - implementation(project(":opendc-telemetry:opendc-telemetry-sdk")) } |
