From b9957dcb7e5c9208bb8aedac73c76a196e70b6fc Mon Sep 17 00:00:00 2001 From: Ming-Yen Chung Date: Thu, 17 Oct 2024 15:47:51 +0800 Subject: [PATCH 1/2] add runtimeTestLibs to test-common-api dependency --- build.gradle | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 671dfe0edead..49c60ca5d5e5 100644 --- a/build.gradle +++ b/build.gradle @@ -1612,9 +1612,12 @@ project(':test-common:test-common-api') { implementation project(':server') implementation project(':server-common') implementation project(':test-common') - implementation libs.junitJupiter + implementation libs.junitJupiterApi + testImplementation libs.mockitoCore + testRuntimeOnly libs.junitPlatformLanucher + testRuntimeOnly runtimeTestLibs } sourceSets { From 147e611ee815f716dce611cce89248a977c99d86 Mon Sep 17 00:00:00 2001 From: Ming-Yen Chung Date: Thu, 17 Oct 2024 23:14:07 +0800 Subject: [PATCH 2/2] change according to comment --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 49c60ca5d5e5..2f7231fc1b5f 100644 --- a/build.gradle +++ b/build.gradle @@ -1614,9 +1614,9 @@ project(':test-common:test-common-api') { implementation project(':test-common') implementation libs.junitJupiterApi + testImplementation libs.junitJupiter testImplementation libs.mockitoCore - testRuntimeOnly libs.junitPlatformLanucher testRuntimeOnly runtimeTestLibs }