Getting Failed populating dependency parents map: dependency has no dependents and is not root. error for the project

Getting below error on running assemble command for below gradle:

* Try:
> Run with --info or --debug option to get more log output.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':compileJava'.
              at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:38)
              at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
              at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
              at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
              at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
              at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
              at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
              at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
              at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
              at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
              at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
              at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
              at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
              at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:69)
              at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:322)
              at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:309)
              at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:302)
              at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:288)
              at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:462)
              at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:379)
              at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
              at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:49)
Caused by: java.lang.RuntimeException: Failed populating dependency parents map: dependency has no dependents and is not root.
              at org.jfrog.gradle.plugin.artifactory.listener.ArtifactoryDependencyResolutionListener.populateDependents(ArtifactoryDependencyResolutionListener.java:87)
              at org.jfrog.gradle.plugin.artifactory.listener.ArtifactoryDependencyResolutionListener.populateDependents(ArtifactoryDependencyResolutionListener.java:99)
              at org.jfrog.gradle.plugin.artifactory.listener.ArtifactoryDependencyResolutionListener.getDependencyDependents(ArtifactoryDependencyResolutionListener.java:68)
              at org.jfrog.gradle.plugin.artifactory.listener.ArtifactoryDependencyResolutionListener.updateDependencyMap(ArtifactoryDependencyResolutionListener.java:56)
              at org.jfrog.gradle.plugin.artifactory.listener.ArtifactoryDependencyResolutionListener.updateModulesMap(ArtifactoryDependencyResolutionListener.java:36)
              at org.jfrog.gradle.plugin.artifactory.listener.ArtifactoryDependencyResolutionListener.afterResolve(ArtifactoryDependencyResolutionListener.java:21)
              at org.gradle.configuration.internal.DefaultUserCodeApplicationContext$CurrentApplication$1.execute(DefaultUserCodeApplicationContext.java:123)
              at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:95)
              at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:83)
              at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:43)
              at org.gradle.internal.event.BroadcastDispatch$SingletonDispatch.dispatch(BroadcastDispatch.java:245)
              at org.gradle.internal.event.BroadcastDispatch$SingletonDispatch.dispatch(BroadcastDispatch.java:157)
              at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:83)
              at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:69)
              at org.gradle.internal.event.BroadcastDispatch$CompositeDispatch.dispatch(BroadcastDispatch.java:346)
              at org.gradle.internal.event.BroadcastDispatch$CompositeDispatch.dispatch(BroadcastDispatch.java:249)
              at org.gradle.internal.event.ListenerBroadcast.dispatch(ListenerBroadcast.java:141)
              at org.gradle.internal.event.ListenerBroadcast.dispatch(ListenerBroadcast.java:37)
              at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
              at jdk.proxy1/jdk.proxy1.$Proxy54.afterResolve(Unknown Source)
              at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$1.call(DefaultConfiguration.java:670)
              at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$1.call(DefaultConfiguration.java:648)
              at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
              at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
              at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
              at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
              at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
              at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
              at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
              at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
              at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveGraphIfRequired(DefaultConfiguration.java:648)
              at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.lambda$resolveExclusively$4(DefaultConfiguration.java:628)
              at org.gradle.api.internal.project.DefaultProjectStateRegistry$CalculatedModelValueImpl.update(DefaultProjectStateRegistry.java:453)
              at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveExclusively(DefaultConfiguration.java:625)
              at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveToStateOrLater(DefaultConfiguration.java:612)
              at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.access$1900(DefaultConfiguration.java:160)
              at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$SelectedArtifactsProvider.getValue(DefaultConfiguration.java:1449)
              at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$SelectedArtifactsProvider.getValue(DefaultConfiguration.java:1439)
              at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$ConfigurationFileCollection.getSelectedArtifacts(DefaultConfiguration.java:1516)
              at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$ConfigurationFileCollection.visitContents(DefaultConfiguration.java:1503)
              at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.visitContents(DefaultConfiguration.java:511)
              at org.gradle.api.internal.file.AbstractFileCollection.visitStructure(AbstractFileCollection.java:375)
              at org.gradle.api.internal.file.CompositeFileCollection.lambda$visitContents$0(CompositeFileCollection.java:119)
              at org.gradle.api.internal.file.collections.UnpackingVisitor.add(UnpackingVisitor.java:64)
              at org.gradle.api.internal.file.collections.UnpackingVisitor.add(UnpackingVisitor.java:89)
              at org.gradle.api.internal.file.DefaultFileCollectionFactory$ResolvingFileCollection.visitChildren(DefaultFileCollectionFactory.java:333)
              at org.gradle.api.internal.file.CompositeFileCollection.visitContents(CompositeFileCollection.java:119)
              at org.gradle.api.internal.file.AbstractFileCollection.visitStructure(AbstractFileCollection.java:375)
              at org.gradle.api.internal.file.CompositeFileCollection.lambda$visitContents$0(CompositeFileCollection.java:119)
              at org.gradle.api.internal.tasks.PropertyFileCollection.visitChildren(PropertyFileCollection.java:48)
              at org.gradle.api.internal.file.CompositeFileCollection.visitContents(CompositeFileCollection.java:119)
              at org.gradle.api.internal.file.AbstractFileCollection.visitStructure(AbstractFileCollection.java:375)
              at org.gradle.internal.fingerprint.impl.DefaultFileCollectionSnapshotter.snapshot(DefaultFileCollectionSnapshotter.java:51)
              at org.gradle.internal.execution.fingerprint.impl.DefaultInputFingerprinter$InputCollectingVisitor.visitInputFileProperty(DefaultInputFingerprinter.java:131)
              at org.gradle.api.internal.tasks.execution.TaskExecution.visitRegularInputs(TaskExecution.java:322)
              at org.gradle.internal.execution.fingerprint.impl.DefaultInputFingerprinter.fingerprintInputProperties(DefaultInputFingerprinter.java:61)
              at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.captureExecutionStateWithOutputs(CaptureStateBeforeExecutionStep.java:193)
              at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.lambda$captureExecutionState$1(CaptureStateBeforeExecutionStep.java:141)
              at org.gradle.internal.execution.steps.BuildOperationStep$1.call(BuildOperationStep.java:37)
              at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
              at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
              at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
              at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
              at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
              at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
              at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
              at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
              at org.gradle.internal.execution.steps.BuildOperationStep.operation(BuildOperationStep.java:34)
              at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.captureExecutionState(CaptureStateBeforeExecutionStep.java:130)
              at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.lambda$execute$0(CaptureStateBeforeExecutionStep.java:75)
              at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:75)
              at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:50)
              at org.gradle.internal.execution.steps.SkipEmptyWorkStep.executeWithNoEmptySources(SkipEmptyWorkStep.java:254)
              at org.gradle.internal.execution.steps.SkipEmptyWorkStep.executeWithNoEmptySources(SkipEmptyWorkStep.java:209)
              at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:88)
              at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:56)
              at org.gradle.internal.execution.steps.RemoveUntrackedExecutionStateStep.execute(RemoveUntrackedExecutionStateStep.java:32)
              at org.gradle.internal.execution.steps.RemoveUntrackedExecutionStateStep.execute(RemoveUntrackedExecutionStateStep.java:21)
              at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:38)
              at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:43)
              at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:31)
              at org.gradle.internal.execution.steps.AssignWorkspaceStep.lambda$execute$0(AssignWorkspaceStep.java:40)
              at org.gradle.api.internal.tasks.execution.TaskExecution$4.withWorkspace(TaskExecution.java:281)
              at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:40)
              at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:30)
              at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:37)
              at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:27)
              at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:44)
              at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:33)
              at org.gradle.internal.execution.impl.DefaultExecutionEngine$1.execute(DefaultExecutionEngine.java:76)
              at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:139)
              at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:128)
              at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:77)
              at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
              at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
              at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
              at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:57)
              at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
              at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
              at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
              at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
              at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
              at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
              at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
              at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
              at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
              at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
              at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
              at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
              at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
              at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:69)
              at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:322)
              at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:309)
              at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:302)
              at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:288)
              at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:462)
              at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:379)
              at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
              at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:49)

build.gradle File:

apply plugin: 'maven-publish'
apply plugin: 'com.jfrog.artifactory'
apply plugin: 'groovy'
apply plugin: 'java'
apply plugin: "com.github.ManifestClasspath"
apply plugin: 'java-library'

version = '3.11.1-Java17-11'
group = 'com.ss.beacon'

buildscript {
    repositories {
        mavenCentral()
        maven {
            url 'https://artifactory.ss.com/artifactory/plugins-release'
            credentials {
                username = "${artifactory_user}"
                password = "${artifactory_password}"
            }
            name = "beacon"
        }
        maven {
            url "https://plugins.gradle.org/m2/"
        }
    }
    dependencies {
        classpath "org.jfrog.buildinfo:build-info-extractor-gradle:5.2.0"
        classpath "gradle.plugin.com.github.viswaramamoorthy:gradle-util-plugins:0.1.0-RELEASE"
    }
}

repositories {
    add buildscript.repositories.getByName("beacon")
}

configurations {
    cucumberRuntime {
        extendsFrom testRuntimeOnly
    }
}

processResources {
    from 'src/main/java/ss/beacon/properties', 'src/main/java/ss/beacon/mock', 'src/main/resources'
    duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}

jar {
    manifest {
        attributes 'Implementation-Title': 'Beacon Jar File',
                'Implementation-Version': version,
                'Main-Class': 'ss.beacon.cucumber.CucumberRunner'
    }
    destinationDirectory = file('bin')
    archiveBaseName = project.name
}

test {
    testLogging {
        exceptionFormat = 'full'
        showStandardStreams = true
        events = ["failed"]
    }
    jvmArgs "-XX:+UnlockExperimentalVMOptions"
    maxHeapSize = '2G'
}

task runScript(dependsOn: 'classes', type: JavaExec) {
    main = 'FileConfiguration'
    classpath = sourceSets.main.runtimeClasspath
}

tasks.withType(Test) {
    dependsOn runScript
    systemProperties = System.properties
    testClassesDirs = files("$buildDir/classes/java/main/ss/beacon/cucumber")
    systemProperty "beaconJarPath", System.getProperty("user.dir") + File.separator + "bin/beacon-" + version + ".jar"
    testLogging.showStandardStreams = true
    maxParallelForks = 10
}

task copyClasses(type: Copy) {
    sourceSets.main.output.classesDirs.each {
        from it
    }
    into "$buildDir/allclasses"
}

task lintJavaCompile(type: JavaCompile) {
    source = sourceSets.main.java.srcDirs
    include '**/*.java'
    classpath = sourceSets.main.compileClasspath
    destinationDirectory = file("$buildDir/allclasses")
    options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}

task web(type: Test) {
    systemProperty "cucumber.options", "--tags @Web"
}

task device(type: Test) {
    systemProperty "cucumber.options", "--tags @Device"
}

task copyTestClasses(type: Copy) {
    sourceSets.test.output.classesDirs.each {
        from it
    }
    into "$buildDir/alltestclasses"
}

task lintTestJavaCompile(type: JavaCompile) {
    dependsOn lintJavaCompile
    source = sourceSets.test.java.srcDirs
    include '**/*.java'
    classpath = sourceSets.test.compileClasspath
    destinationDirectory = file("$buildDir/alltestclasses")
    options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}

task swaggerCodeGen {
    doLast {
        def jsonFile = "$swaggerJsonFile"
        javaexec {
            main = "-jar"
            args = [
                    "src/main/resources/swagger-codegen-cli-2.2.2.jar",
                    "generate",
                    "-i",
                    jsonFile,
                    "-l",
                    "java",
                    "-o",
                    "build/swagger"
            ]
        }
    }
}

task createPOJOs(type: Copy) {
    dependsOn swaggerCodeGen
    from 'build/swagger/src/main/java/io/swagger/client/model'
    into 'build/pojos'
}

artifactory {
    contextUrl = "${artifactory_contextUrl}"
    publish {
        repository {
            repoKey = 'libs-release-local'
            username = "${artifactory_user}"
            password = "${artifactory_password}"
        }
        defaults {
            publications('mavenJava')
        }
    }
}

task fatJar(type: Jar) {
    archivesBaseName = project.name + '-all'
    from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
    with jar
}

publishing {
    publications {
        mavenJava(MavenPublication) {
            from components.java
        }
    }
}

dependencies {
    api group: 'org.mockito', name: 'mockito-core', version: '4.11.0'
    api group: 'com.atlassian.oai', name: 'swagger-request-validator-restassured', version: '2.11.0'
    api 'org.codehaus.groovy:groovy-all:3.0.9'
    api 'com.google.code.gson:gson:2.10.1'
    api 'io.rest-assured:rest-assured:4.5.1'
    api 'com.google.inject:guice:5.1.0'
    api group: 'com.google.guava', name: 'guava', version: '31.1-jre'
    api 'info.cukes:cucumber-guice:1.2.5'
    api 'info.cukes:cucumber-junit:1.2.5'
    api 'junit:junit:4.13.2'
    api group: 'org.seleniumhq.selenium', name: 'selenium-java', version: '4.19.0'
    api group: 'io.appium', name: 'java-client', version: '8.6.0'
    api group: 'commons-dbutils', name: 'commons-dbutils', version: '1.7'
    api group: 'org.apache.kafka', name: 'kafka-clients', version: '3.4.0'
    api group: "com.typesafe.akka", name: "akka-stream-kafka_2.11", version: "0.13"
    api group: 'org.apache.kafka', name: 'kafka_2.11', version: '0.10.1.0'
    api group: 'org.apache.zookeeper', name: 'zookeeper', version: '3.7.0'
    api group: 'net.masterthought', name: 'cucumber-reporting', version: '5.8.2'
    api group: 'org.awaitility', name: 'awaitility', version: '4.2.0'
    api group: 'org.seleniumhq.selenium', name: 'htmlunit-driver', version: '2.52.0'
    api group: 'com.microsoft.sqlserver', name: 'sqljdbc4', version: '4.0'
    api group: 'org.apache.commons', name: 'commons-collections4', version: '4.4'
    api 'org.apache.poi:poi:5.2.3'
    api 'org.apache.poi:poi-ooxml:5.2.3'
    api group: 'org.skyscreamer', name: 'jsonassert', version: '1.5.0'
    api group: 'com.datastax.cassandra', name: 'cassandra-driver-core', version: '3.11.5'
    api group: 'com.datastax.cassandra', name: 'cassandra-driver-mapping', version: '3.11.5'
    api group: 'com.datastax.cassandra', name: 'cassandra-driver-extras', version: '3.11.5'
    api group: 'org.apache.pdfbox', name: 'pdfbox', version: '2.0.24'
    api group: 'io.qameta.allure', name: 'allure-cucumber-jvm', version: '2.17.0'
    api group: 'org.apache.avro', name: 'avro', version: '1.10.2'
    api 'com.google.cloud:google-cloud-spanner-jdbc:0.4.0'
    api group: 'mysql', name: 'mysql-connector-java', version: '8.0.33'
    api group: 'io.github.bonigarcia', name: 'webdrivermanager', version: '5.6.3'
    api group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.9.2'
    api group: 'io.netty', name: 'netty-all', version: '4.1.94.Final'
    api group: 'com.github.mkolisnyk', name: 'cucumber-runner', version: '1.3.5'
    api group: 'com.luhuiguo', name: 'aspose-pdf', version: '23.1'
}

Using gradle 7.6.1 for this

You get an error from that JFrog plugin, so you should ask that plugin’s maintainer about it.

Or you stop using it.
I seldomly heard good things about it and almost always the solution was to simply not use it.