I am 10000000000% new to coding forge mods. I am trying to run this command:
./gradlew setupdecompworkspace
I typed this in the terminal after going through the file path. I get this error message:
* What went wrong:
Could not compile build file '/Users/fred/Desktop/Mods-In-Progress/LearningMod/build.gradle'.
> startup failed:
build file '/Users/fred/Desktop/Mods-In-Progress/LearningMod/build.gradle': 15: unexpected token: 16.5 @ line 15, column 13.
version =‘1.16.5-1.0.0’
^
1 error
* 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 5s
FC-MBP3-3:LearningMod MYNAME$
My build.gradle file is this(I am not showing the whole thing btw):
buildscript {
repositories {
maven { url = 'https://maven.minecraftforge.net' }
mavenCentral()
}
dependencies {
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '4.1.+', changing: true
}
}
apply plugin: 'net.minecraftforge.gradle'
// Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.
apply plugin: 'eclipse'
apply plugin: 'maven-publish'
version =‘1.16.5-1.0.0’
group = 'com.yourname.modid' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = 'modid'
So, my question is how do I fix the error message. I have tried everything I can think of. I am following this tutorial: https://www.youtube.com/watch?v=JFVFqZo5t5Q
Thanks,
CreativeDrone
Also, I have an old mac. around OS version 10.8 Owo Gonna get a new one soon OK SO SOMEONE FIXED THIS PROBLEM BUT I AM STILL GETTING AN ERROR CODE THE ERROR CODE IS IN THE COMMENTS.