Failing while building all modules of bc-java including bcutil-jdk15to18:1.69 (using gradle build command)
Package artifact id: bc-java
source code url: https://github.com/bcgit/bc-java/tree/r1rv69
Issue Description: Failing while building all modules of bc-java including bcutil-jdk15to18:1.69 using gradle build command
JDK Version: 1.8
Build CMD: gradle build -x javadoc
MVN Version: 3.9.6
Error Log:
2024-04-18T11:50:25.685+0530 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] A problem occurred evaluating root project 'bc-java'. 2024-04-18T11:50:25.685+0530 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not find method testCompile() for arguments [{group=junit, name=junit, version=4.11}] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
attachement: build log attached (jdk 1.8) Failed_jdk_8_gradle_8.txt
OS: windows 10
I have also faced similar exception while using JDK 11 and 17 . I am attaching JDK -11 and JDK -17 logs also here . Failed_jdk_17_gradle_8.txt Failed_jdk_11_gradle_8.txt
Please let me know the correct JDK version to be used and also let me know any other requirements to get the build success with test cases.