2 separate gradle failures

Status
Can not reproduce
Type
Product/platform
MCreator/Windows
Priority
Normal
Issue description

I’m getting the following build failure. Please advise:

Executing 
    Gradle task: --warning-mode all

Build 
    info: MCreator 2020.4.32115, forge-1.15.2, 64-bit, 4010 MB, Windows 10, 
    JVM 1.8.0_252, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk

org.gradle.tooling.exceptions.UnsupportedBuildArgumentException: 
    Could not execute build using connection to Gradle distribution 
    'https://services.gradle.org/distributions/gradle-6.5.1-bin.zip'.

Problem 
    with provided build arguments: [--warning-mode]. 

No 
    argument was provided for command-line option '--warning-mode'.

Either 
    it is not a valid build option or it is not supported in the target Gradle 
    version.

Not 
    all of the Gradle command line options are supported build arguments.

Examples 
    of supported build arguments: '--info', '-p'.

Examples 
    of unsupported build options: '--daemon', '-?', '-v'.

Please 
    find more information in the javadoc for the BuildLauncher class.

 
      at org.gradle.tooling.internal.consumer.ExceptionTransformer.transform(
ExceptionTransformer.java:40
)

 
      at org.gradle.tooling.internal.consumer.ExceptionTransformer.transform(
ExceptionTransformer.java:29
)

 
      at org.gradle.tooling.internal.consumer.ResultHandlerAdapter.onFailure(
ResultHandlerAdapter.java:43
)

 
      at 
    org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor.lambda$run$0(
DefaultAsyncConsumerActionExecutor.java:64
)

 
      at 
    org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(
ExecutorPolicy.java:64
)

 
      at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(
ManagedExecutorImpl.java:48
)

 
      at java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1149
)

 
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:624
)

 
      at 
    org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(
ThreadFactoryImpl.java:56
)

 
      at java.lang.Thread.run(
Thread.java:748
)

Caused 
    by: 
    org.gradle.tooling.internal.protocol.exceptions.InternalUnsupportedBuildArgumentException: 
    Problem with provided build arguments: [--warning-mode]. 

No 
    argument was provided for command-line option '--warning-mode'.

Either 
    it is not a valid build option or it is not supported in the target Gradle 
    version.

Not 
    all of the Gradle command line options are supported build arguments.

Examples 
    of supported build arguments: '--info', '-p'.

Examples 
    of unsupported build options: '--daemon', '-?', '-v'.

Please 
    find more information in the javadoc for the BuildLauncher class.

 
      at 
    org.gradle.tooling.internal.provider.ProviderStartParameterConverter.toStartParameter(
ProviderStartParameterConverter.java:81
)

 
      at org.gradle.tooling.internal.provider.ProviderConnection.run(
ProviderConnection.java:134
)

 
      at org.gradle.tooling.internal.provider.DefaultConnection.getModel(
DefaultConnection.java:202
)

 
      at 
    org.gradle.tooling.internal.consumer.connection.CancellableModelBuilderBackedModelProducer.produceModel(
CancellableModelBuilderBackedModelProducer.java:54
)

 
      at 
    org.gradle.tooling.internal.consumer.connection.PluginClasspathInjectionSupportedCheckModelProducer.produceModel(
PluginClasspathInjectionSupportedCheckModelProducer.java:38
)

 
      at 
    org.gradle.tooling.internal.consumer.connection.AbstractConsumerConnection.run(
AbstractConsumerConnection.java:64
)

 
      at 
    org.gradle.tooling.internal.consumer.connection.ParameterValidatingConsumerConnection.run(
ParameterValidatingConsumerConnection.java:49
)

 
      at org.gradle.tooling.internal.consumer.DefaultBuildLauncher$1.run(
DefaultBuildLauncher.java:97
)

 
      at org.gradle.tooling.internal.consumer.DefaultBuildLauncher$1.run(
DefaultBuildLauncher.java:89
)

 
      at 
    org.gradle.tooling.internal.consumer.connection.LazyConsumerActionExecutor.run(
LazyConsumerActionExecutor.java:130
)

 
      at 
    org.gradle.tooling.internal.consumer.connection.CancellableConsumerActionExecutor.run(
CancellableConsumerActionExecutor.java:45
)

 
      at 
    org.gradle.tooling.internal.consumer.connection.ProgressLoggingConsumerActionExecutor.run(
ProgressLoggingConsumerActionExecutor.java:61
)

 
      at 
    org.gradle.tooling.internal.consumer.connection.RethrowingErrorsConsumerActionExecutor.run(
RethrowingErrorsConsumerActionExecutor.java:38
)

 
      at 
    org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor.lambda$run$0(
DefaultAsyncConsumerActionExecutor.java:62
)

 
      ... 6 more

Caused 
    by: org.gradle.cli.CommandLineArgumentException: No argument was provided 
    for command-line option '--warning-mode'.

 
      at org.gradle.cli.CommandLineParser$KnownOptionParserState.onComplete(
CommandLineParser.java:445
)

 
      at 
    org.gradle.cli.CommandLineParser$MissingOptionArgState.onCommandLineEnd(
CommandLineParser.java:389
)

 
      at org.gradle.cli.CommandLineParser.parse(
CommandLineParser.java:137
)

 
      at org.gradle.cli.AbstractCommandLineConverter.convert(
AbstractCommandLineConverter.java:22
)

 
      at 
    org.gradle.tooling.internal.provider.ProviderStartParameterConverter.toStartParameter(
ProviderStartParameterConverter.java:77
)

 
      ... 19 more

TASK 
    EXECUTION FAILED

Task 
    completed in 6174 milliseconds

 

Issue comments



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.