summaryrefslogtreecommitdiff
path: root/opendc-simulator/opendc-simulator-compute/build.gradle.kts
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2021-06-10 17:32:43 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2021-06-11 17:05:10 +0200
commit1768292251957da5ce6411ecc7d2dffebf8709c8 (patch)
treee79f01046233efbbc2c8ec5432e23789e7ca0346 /opendc-simulator/opendc-simulator-compute/build.gradle.kts
parentf0c0c6d45165ad0ce398ec7300b11bf77c7ae5a6 (diff)
simulator: Integrate power subsystem with compute subsystem
This change integrates the power subsystem of the simulator with the compute subsystem by exposing a new field on a SimBareMetalMachine, psu, which provides access to the machine's PSU, which in turn can be connected to a SimPowerOutlet.
Diffstat (limited to 'opendc-simulator/opendc-simulator-compute/build.gradle.kts')
-rw-r--r--opendc-simulator/opendc-simulator-compute/build.gradle.kts1
1 files changed, 1 insertions, 0 deletions
diff --git a/opendc-simulator/opendc-simulator-compute/build.gradle.kts b/opendc-simulator/opendc-simulator-compute/build.gradle.kts
index 4eb0be33..41cdd40c 100644
--- a/opendc-simulator/opendc-simulator-compute/build.gradle.kts
+++ b/opendc-simulator/opendc-simulator-compute/build.gradle.kts
@@ -32,6 +32,7 @@ plugins {
dependencies {
api(platform(projects.opendcPlatform))
api(projects.opendcSimulator.opendcSimulatorResources)
+ api(projects.opendcSimulator.opendcSimulatorPower)
implementation(projects.opendcSimulator.opendcSimulatorCore)
implementation(projects.opendcUtils)
implementation(libs.yaml)