-
Notifications
You must be signed in to change notification settings - Fork 117
Description
i want to make a minecraft mod,But When I Run ./gradlew build,I get this error:
C:\Cproject\Angelica-1.0.0-beta53>gradlew build
[Incubating] Problems report is available at: file:///C:/Cproject/Angelica-1.0.0-beta53/build/reports/problems/problems-report.html
FAILURE: Build failed with an exception.
-
Where:
Settings file 'C:\Cproject\Angelica-1.0.0-beta53\settings.gradle' line: 19 -
What went wrong:
Plugin [id: 'com.gtnewhorizons.gtnhsettingsconvention', version: '1.0.41'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Included Builds (No included builds contain this plugin)
- Plugin Repositories (could not resolve plugin artifact 'com.gtnewhorizons.gtnhsettingsconvention:com.gtnewhorizons.gtnhsettingsconvention.gradle.plugin:1.0.41')
Searched in the following repositories:
GTNH Maven(https://nexus.gtnewhorizons.com/repository/public/)
Gradle Central Plugin Repository
MavenRepo
MavenLocal(file:/C:/Users/xiaol/.m2/repository/)
- 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.org.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.13/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 5s
I found that the error was caused by the file not existing. Is it because the corresponding repository is no longer in use or the address of this file is not the latest?