From f1daebc9d49910d9300da6616bc30baf2ab9650d Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Sat, 23 Apr 2022 11:43:22 +0200 Subject: build: Enable testing for all library modules This change updates the Gradle build configuration to ensure that all library modules (that will be published) use testing and are included in coverage reports. This should ensure the public modules remain well tested. --- opendc-compute/opendc-compute-service/build.gradle.kts | 2 -- opendc-compute/opendc-compute-simulator/build.gradle.kts | 2 -- opendc-compute/opendc-compute-workload/build.gradle.kts | 1 - 3 files changed, 5 deletions(-) (limited to 'opendc-compute') diff --git a/opendc-compute/opendc-compute-service/build.gradle.kts b/opendc-compute/opendc-compute-service/build.gradle.kts index b9437a73..b42c2919 100644 --- a/opendc-compute/opendc-compute-service/build.gradle.kts +++ b/opendc-compute/opendc-compute-service/build.gradle.kts @@ -25,8 +25,6 @@ description = "OpenDC Compute Service implementation" /* Build configuration */ plugins { `kotlin-library-conventions` - `testing-conventions` - `jacoco-conventions` } dependencies { diff --git a/opendc-compute/opendc-compute-simulator/build.gradle.kts b/opendc-compute/opendc-compute-simulator/build.gradle.kts index 9a8cbfcc..e81d87ec 100644 --- a/opendc-compute/opendc-compute-simulator/build.gradle.kts +++ b/opendc-compute/opendc-compute-simulator/build.gradle.kts @@ -25,8 +25,6 @@ description = "Simulator for OpenDC Compute" /* Build configuration */ plugins { `kotlin-library-conventions` - `testing-conventions` - `jacoco-conventions` } dependencies { diff --git a/opendc-compute/opendc-compute-workload/build.gradle.kts b/opendc-compute/opendc-compute-workload/build.gradle.kts index 41a4b52d..9ced95a7 100644 --- a/opendc-compute/opendc-compute-workload/build.gradle.kts +++ b/opendc-compute/opendc-compute-workload/build.gradle.kts @@ -25,7 +25,6 @@ description = "Support library for simulating VM-based workloads with OpenDC" /* Build configuration */ plugins { `kotlin-library-conventions` - `testing-conventions` } dependencies { -- cgit v1.2.3 From e1a5b581ae957cc5b07c6083557cd3bcc137894b Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Sat, 23 Apr 2022 12:11:44 +0200 Subject: build: Move modules into subgroups This change updates the Gradle build configuration of the project to publish the different type of modules (e.g., opendc-compute, opendc-simulator) into their own groups. --- opendc-compute/build.gradle.kts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'opendc-compute') diff --git a/opendc-compute/build.gradle.kts b/opendc-compute/build.gradle.kts index bf920306..b816ce58 100644 --- a/opendc-compute/build.gradle.kts +++ b/opendc-compute/build.gradle.kts @@ -21,3 +21,7 @@ */ description = "Cloud computing fabric controller of OpenDC" + +subprojects { + group = "org.opendc.compute" +} -- cgit v1.2.3