I want more functions like debugClient in gradle-7.4.2. But debugClient failed after I changed the gradle version to 7.4.2.
First, it can't get the dependencies.
`Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
What went wrong:
Execution failed for task ':compileJava'.
Could not resolve all files for configuration ':compileClasspath'.
Could not find codechicken:CodeChickenCore:1.7.10-1.0.4.29.
Searched in the following locations:
file:/C:/Users/29801/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.4.1614-1.7.10/CodeChickenCore-src.jar
Required by:
project :
Could not find codechicken:CodeChickenLib:1.7.10-1.1.3.140.
Searched in the following locations:
file:/C:/Users/29801/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.4.1614-1.7.10/CodeChickenLib-src.jar
Required by:
project :
Could not find codechicken:NotEnoughItems:1.7.10-1.0.3.74.
Searched in the following locations:
Describe the bug
I want more functions like debugClient in gradle-7.4.2. But debugClient failed after I changed the gradle version to 7.4.2. First, it can't get the dependencies. `Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.4.2/userguide/command_line_interface.html#sec:command_line_warnings 2 actionable tasks: 1 executed, 1 up-to-date <-------------> 0% WAITING
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':compileJava'.
Try:
Get more help at https://help.gradle.org Could not execute build using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-7.4.2-bin.zip'.`
After I I downloaded all the missing dependencies to the local specified path, it still faild. ` Task :processResources FAILED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.4.2/userguide/command_line_interface.html#sec:command_line_warnings 3 actionable tasks: 2 executed, 1 up-to-date <====---------> 37% EXECUTING [1m 34s]
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':processResources'.
Try:
Get more help at https://help.gradle.org Could not execute build using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-7.4.2-bin.zip'.`