Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing while building all modules of bc-java including bcutil-jdk15to18:1.69 (using gradle build command) #1631

Open
shivsrivastava opened this issue Apr 18, 2024 · 1 comment

Comments

@shivsrivastava
Copy link

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

@shivsrivastava
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant