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-experiments-capelin/build.gradle.kts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'opendc-experiments/opendc-experiments-capelin') diff --git a/opendc-experiments/opendc-experiments-capelin/build.gradle.kts b/opendc-experiments/opendc-experiments-capelin/build.gradle.kts index 06a35c4b..7f5f5a74 100644 --- a/opendc-experiments/opendc-experiments-capelin/build.gradle.kts +++ b/opendc-experiments/opendc-experiments-capelin/build.gradle.kts @@ -30,13 +30,13 @@ plugins { } dependencies { - api(platform(project(":opendc-platform"))) - api(project(":opendc-harness:opendc-harness-engine")) - implementation(project(":opendc-format")) - implementation(project(":opendc-simulator:opendc-simulator-core")) - implementation(project(":opendc-simulator:opendc-simulator-compute")) - implementation(project(":opendc-simulator:opendc-simulator-failures")) - implementation(project(":opendc-compute:opendc-compute-simulator")) + api(platform(projects.opendcPlatform)) + api(projects.opendcHarness.opendcHarnessApi) + implementation(projects.opendcFormat) + implementation(projects.opendcSimulator.opendcSimulatorCore) + implementation(projects.opendcSimulator.opendcSimulatorCompute) + implementation(projects.opendcSimulator.opendcSimulatorFailures) + implementation(projects.opendcCompute.opendcComputeSimulator) implementation("io.github.microutils:kotlin-logging") implementation("com.typesafe:config") @@ -49,5 +49,5 @@ dependencies { exclude(group = "log4j") } - implementation(project(":opendc-telemetry:opendc-telemetry-sdk")) + implementation(projects.opendcTelemetry.opendcTelemetrySdk) } -- cgit v1.2.3 From c244d7e42a88105fbec5356030ed266f1af0811e Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Wed, 5 May 2021 22:32:28 +0200 Subject: build: Prevent publishing application modules This change updates the Gradle build configuration so that the application modules (as opposed the libraries) are not published onto Maven Central. --- opendc-experiments/opendc-experiments-capelin/build.gradle.kts | 1 - 1 file changed, 1 deletion(-) (limited to 'opendc-experiments/opendc-experiments-capelin') diff --git a/opendc-experiments/opendc-experiments-capelin/build.gradle.kts b/opendc-experiments/opendc-experiments-capelin/build.gradle.kts index 7f5f5a74..ca4aa35f 100644 --- a/opendc-experiments/opendc-experiments-capelin/build.gradle.kts +++ b/opendc-experiments/opendc-experiments-capelin/build.gradle.kts @@ -24,7 +24,6 @@ description = "Experiments for the Capelin work" /* Build configuration */ plugins { - `kotlin-library-conventions` `experiment-conventions` `testing-conventions` } -- cgit v1.2.3