SlimeKnights / TinkersConstruct

Tinker a little, build a little, tinker a little more...
MIT License
1.24k stars 779 forks source link

cannot build from source #3981

Closed Daniel-Pyemont closed 4 years ago

Daniel-Pyemont commented 5 years ago

Issue description:

If crashed, link to crash report (use a site such as pastebin):

There is no crash report, just an error when compiling from source. "Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0."

I am not using Gradle 7.0, I am using Gradle 6.0.

Versions:

Can it be reproduced with just Tinkers Construct? If not, list the other mods required to reproduce the issue.

Other source mods do the same, so unless I miss something.

bonii-xx commented 5 years ago

Use the provided gradle wrapper.

Daniel-Pyemont commented 5 years ago

Use the provided gradle wrapper.

I have used the included gradle wrapper, would it be because I downloaded a separate gradle and pathed it to that?

bonii-xx commented 5 years ago

Yes. Because that defeats the purpose of the gradle wrapper.

Daniel-Pyemont commented 5 years ago

Yes. Because that defeats the purpose of the gradle wrapper.

Cheers,

So for every mod, I use the included gradle wrapper, and not the official one. Good to know.

Daniel-Pyemont commented 5 years ago

So I managed to get it working, however, It is stuck on 61% for ages of building the source.

https://ibb.co/dPn6cgy (screenshot).

bonii-xx commented 5 years ago

So for every mod, I use the included gradle wrapper, and not the official one. Good to know.

Yes. I suggest looking into https://docs.gradle.org/current/userguide/gradle_wrapper.html

So I managed to get it working, however, It is stuck on 61% for ages of building the source.

That's all forgegradle, nothing we do. Have you tried simply running it again?

Daniel-Pyemont commented 5 years ago

So for every mod, I use the included gradle wrapper, and not the official one. Good to know.

Yes. I suggest looking into https://docs.gradle.org/current/userguide/gradle_wrapper.html

So I managed to get it working, however, It is stuck on 61% for ages of building the source.

That's all forgegradle, nothing we do. Have you tried simply running it again?

Yes, I'm going to try on different system, to see if it's because I installed Gradle? Or config issue.

Daniel-Pyemont commented 5 years ago

No dice, I even installed older version of Java to see if it was the version (V6Update45)

Task :compileJava FAILED

FAILURE: Build failed with an exception.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/5.6.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1m 31s 1 actionable task: 1 executed

bonii-xx commented 5 years ago

No dice, I even installed older version of Java to see if it was the version (V6Update45)

You'll need at least java8. Looks like it didn't set up forge correctly. Again, this has nothing to do with TiC, but your environment. I suggest setting up a blank dev workspace to see if that even works for you, before trying to setup TiC.

bonii-xx commented 4 years ago

Closing this for tracker cleanup.