What went wrong:
A problem occurred configuring root project 'plugin-starter'.
Could not resolve all files for configuration ':classpath'.
Could not resolve run.halo.gradle:halo-gradle-plugin:0.0.4.
Required by:
project : > run.halo.plugin.devtools:run.halo.plugin.devtools.gradle.plugin:0.0.4
No matching variant of run.halo.gradle:halo-gradle-plugin:0.0.4 was found. The consumer was configured to find a library for use during runtime, compatible with Java 8, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '8.0' but:
Variant 'apiElements' capability run.halo.gradle:halo-gradle-plugin:0.0.4 declares a library, packaged as a jar, and its dependencies declared externally:
Incompatible because this component declares a component for use during compile-time, compatible with Java 17 and the consumer needed a component for use during runtime, compatible with Java 8
Other compatible attribute:
Doesn't say anything about org.gradle.plugin.api-version (required '8.0')
Variant 'runtimeElements' capability run.halo.gradle:halo-gradle-plugin:0.0.4 declares a library for use during runtime, packaged as a jar, and its dependencies declared externally:
Incompatible because this component declares a component, compatible with Java 17 and the consumer needed a component, compatible with Java 8
Other compatible attribute:
Doesn't say anything about org.gradle.plugin.api-version (required '8.0')
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.
FAILURE: Build failed with an exception.
What went wrong: A problem occurred configuring root project 'plugin-starter'.
Try:
Get more help at https://help.gradle.org
BUILD FAILED in 1s
C:\Users\Administrator\Desktop\Demo\Demo\Java\plugin-starter>