Error in running a Fabric Mod on 2023.1

Started by VitorB10 on

Topic category: Plugins and third-party tools

Last seen on 23:10, 7. Jun 2023
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Error in running a Fabric Mod on 2023.1

I was trying to run a mod that i was doing about some hours ago and it failed:
Executing Gradle task: runClient
Build info: MCreator 2023.1.10610, fabric-1.19.2, 64-bit, 16344 MB, Windows 10, JVM 17.0.5, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2023-05-30-15:13:37

> Configure project :
Fabric Loom: 1.0.18
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\Vitor\MCreatorWorkspaces\usefull_useless_devices\build.gradle' line: 46
* What went wrong:
A problem occurred evaluating root project 'usefull_useless_devices'.
> Could not set unknown property 'classifier' for task ':sourcesJar' of type org.gradle.api.tasks.bundling.Jar.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 338ms

BUILD FAILED
Task completed in less than a second

What can i do to solve this?

It may make sense to report…
Tue, 05/30/2023 - 18:46

It may make sense to report this problem to the plugin authors on their issue tracker

Last seen on 23:10, 7. Jun 2023
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I solve this problem but i…
Tue, 05/30/2023 - 19:49

I solve this problem but i got new one with Pehkui :

> Configure project :
Fabric Loom: 1.0.18
FAILURE: Build failed with an exception.
* Where:
Script 'C:\Users\Vitor\MCreatorWorkspaces\usefull_useless_devices\mcreator.gradle' line: 8
* What went wrong:
A problem occurred evaluating script.
> Could not get unknown property 'fg' for 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.
* Get more help at https://help.gradle.org
BUILD FAILED in 143ms

I think i have a possible solution for this in "mcreator.gradle":

repositories {
  maven {
      url = "https://jitpack.io"
  }
}

dependencies {
  implementation fg.deobf('com.github.Virtuoel:Pehkui:3.7.4')
}

Maybe if i could disable MCreator to regen this code and replace the dependency to a updated one that i found o Git:"modApi("com.github.Virtuoel:Pehkui:3.7.4", {exclude group: "net.fabricmc.fabric-api"})"
 

It may make sense to report…
Wed, 05/31/2023 - 17:49

It may make sense to report this problem to the plugin authors on their issue tracker