This is an automated email from the ASF dual-hosted git repository.

rnewson pushed a commit to branch nouveau-fix-gradle-deprecation-warning
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit fef9fd28afd5bae23fa1de69fc1501c60458a349
Author: Robert Newson <rnew...@apache.org>
AuthorDate: Thu Sep 21 11:48:09 2023 +0100

    fix gradle deprecation warning
    
    The automatic loading of test framework implementation dependencies has been
    deprecated. This is scheduled to be removed in Gradle 9.0. Declare the 
desired
    test framework directly on the test suite or explicitly declare the test
    framework implementation dependencies on the test's runtime classpath. 
Consult
    the upgrading guide for further information:
    
https://docs.gradle.org/8.3/userguide/upgrading_version_8.html#test_framework_implementation_dependencies
---
 nouveau/build.gradle | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/nouveau/build.gradle b/nouveau/build.gradle
index 38a92fac9..139c8794d 100644
--- a/nouveau/build.gradle
+++ b/nouveau/build.gradle
@@ -39,9 +39,10 @@ dependencies {
     implementation group: 'io.swagger.core.v3', name: 
'swagger-jaxrs2-jakarta', version: swaggerVersion
     implementation group: 'io.swagger.core.v3', name: 
'swagger-jaxrs2-servlet-initializer-v2', version: swaggerVersion
 
-    testImplementation platform('org.junit:junit-bom:5.8.2')
-    testImplementation 'org.junit.jupiter:junit-jupiter-api'
-    testRuntimeOnly    'org.junit.jupiter:junit-jupiter-engine'
+    testImplementation platform('org.junit:junit-bom:5.9.2')
+    testImplementation('org.junit.jupiter:junit-jupiter')
+    testRuntimeOnly('org.junit.platform:junit-platform-launcher')
+
     testImplementation 'org.assertj:assertj-core'
     testImplementation 'org.mockito:mockito-core'
 }

Reply via email to