not building #287
Comments
I have seen this issue before and know the fix, but I can't remember it at the moment. I think it required removing a few things from the build.gradle for it to build, but I cannot guarantee that was the right fix. I'll look later. |
I have a fix for your issue. It is a temporary fix. To first start, download the latest code and run it. When you get the error, scroll up to the top of the stacktrace and click the line in the build.gradle. Then you will want to comment this part on lines 22-29:
Then look in the build.gradle for other mentions of the GitHash. There are 2 locations. The first is on line 38. Make sure that The second instance of the GitHash is on line 145. Simply comment out the entire line. Ex. I believe that is all. Then you can Thanks! Let me know if this does not work. EDIT: Begin by commenting out line 3. Then comment out the BuildConfig on line 41. It should look like this: I think that should be it. EDIT 2: |
installing git may also fix the issue |
ah ok thanks bro |
it didnt |
so like this? buildscript { def getGitHash = { -> apply plugin: 'net.minecraftforge.gradle.forge' version "0.7.0+" buildConfig { sourceSets.main.java.srcDirs += "build/gen/buildconfig/src/main" sourceCompatibility = targetCompatibility = '1.8' minecraft { repositories { dependencies {
} task getDeps(type: Copy) { processResources { shadowJar { mixin { } reobf { jar { build.dependsOn(shadowJar) |
I can test it later, but as long as the instructions are followed it should work. Travis has a point, to solve the problem open the code with github desktop or VSC. |
i did |
but still aint building |
C:\Users\WhyYouLookingHere>cd C:\Users\YouLookingHere\OneDrive\Desktop\wurst-plus-three-0.7.0 C:\Users\YouLookingHere\OneDrive\Desktop\wurst-plus-three-0.7.0>gradlew setupdecompworkspace
FAILURE: Build failed with an exception.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0. BUILD FAILED in 12s |
even with git doesnt work |
In the main repo click code, and then click "open in GitHub Desktop". Download GitHub desktop app and clone the repo from there, then when it's done, Fetch the origin and then go to the branches menu and select 0.7.0. Then open it in Intellij IDEA Community Edition and that will work. Make sure your JDK and Minecraft development plugins are configured correctly. |
rip still didnt work |
Can you please provide more info, such as a stacktrace? This method does work on my end. |
A problem occurred evaluating root project 'wurst-plus-three-0.7.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.
Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:command_line_warnings
The text was updated successfully, but these errors were encountered: