Hi,
Thanks for the reply,
Being honnest, I don't care about Mockito 1.
I try to have a environnement for Eclipse, but I have a lot of erreur after the gradle import.
In the "Java Build Path Problems" section "A cycle was detected in the build path of project ..."
In gradle when I try to execute a task like "powermockito-mockito2/build/BuildNeeded" or any other project
I have the folowing trace :
--------------------------------------------------------------------------------------------
Working Directory: C:\tmp\powermock\powermock-core
Gradle User Home: C:\Users\pko\.gradle
Gradle Distribution: Gradle wrapper from target build
Gradle Version: 4.10.2
Java Home: C:\Program Files\Java\jdk1.8.0_201
JVM Arguments: None
Program Arguments: None
Build Scans Enabled: false
Offline Mode Enabled: false
Gradle Tasks: buildNeeded
> Configure project :
Building version '2.0.10' (value loaded from 'version.properties' file).
Version: 2.0.10
Configuration(s) specified but the install task does not exist in project :powermock-release:powermock-easymock.
Configuration(s) specified but the install task does not exist in project :powermock-release:powermock-mockito2.
FAILURE: Build failed with an exception.
* What went wrong:
Circular dependency between the following tasks:
:powermock-core:buildNeeded
\--- :tests:utils:buildNeeded
\--- :powermock-core:buildNeeded (*)
(*) - details omitted (listed previously)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at
https://help.gradle.orgDeprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See
https://docs.gradle.org/4.10.2/userguide/command_line_interface.html#sec:command_line_warningsBUILD FAILED in 1s
--------------------------------------------------------------------------------------------
I think they all have the same root cause. Probably something I missed.
Currently, I have only cloned the git depot and imported all in a Eclipse Java EE IDE for Web Developers. Version: 2018-09 .
Then try to build the project.
I will try to do it on IntellyJ
K.