Goldfuscate error when i try to build the gradle project

Started by supaflyty07 on

Topic category: Plugins and third-party tools

Last seen on 22:45, 22. Jul 2022
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Goldfuscate error when i try to build the gradle project

Whenever i try to build the gradle project it gives me this message in the console:

FAILURE: Build failed with an exception.
* Where:
Script 'C:\Users\tyler\MCreatorWorkspaces\obfuscatetest\mcreator.gradle' line: 7
* What went wrong:
A problem occurred evaluating script.
> Could not find method compile() for arguments [DefaultExternalModuleDependency{group='curse.maven', name='obfuscate-289380', version='3336021', configuration='default'}] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
* 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
BUILD FAILED in 723ms

i went to the file directory it gave me, i changed line 7 multiple times, but then once i try to build the gradle project again the file reverts back to the version that gives me the error. Here is the text inside the file:

repositories {
  maven {
    url = "https://www.cursemaven.com"
  }
}
dependencies {
    compile fg.deobf("curse.maven:obfuscate-289380:3336021")
}      

im using mcreator 2021.3 for 1.16.5 if that helps

I think it is better to…
Sat, 07/09/2022 - 09:12

I think it is better to report this bug to the plugin author on GitHub so they can track and resolve the issue